Annuel Payez à l'année et profitez de 2 mois offerts sur chaque offre payante. Voir les offres
Se connecter Commencer gratuitement

Consultant en nommage

Entrée
Qu'est-ce qui a besoin d'un nom ?
a function that checks if a user can access a document based on role, ownership and sharing settings
Résultat d'exemple Réalisé le 27 octobre 2026
  1. Winner: canUserAccessDocument

    • Reading-aloud test: “Can user access document?” Clear and natural.
    • Implies: Returns a boolean after evaluating all relevant authorization factors.
    • Mis-implies: May sound broader than role, ownership, and sharing settings if other access rules exist.
  2. hasDocumentAccess

    • Reading-aloud test: “User has document access.” Concise and fluent at call sites.
    • Implies: Checks whether the current or supplied user has access.
    • Mis-implies: Without parameters or context, it may be unclear which user is being checked.
  3. isDocumentAccessibleByUser

    • Reading-aloud test: “Is document accessible by user?” Precise, though slightly formal.
    • Implies: A boolean accessibility decision for a specific user and document.
    • Mis-implies: “Accessible” can be confused with disability/accessibility compliance.
  4. canAccessDocument

    • Reading-aloud test: “Can access document?” Natural when called as user.canAccessDocument(document).
    • Implies: Evaluates authorization to access the document.
    • Mis-implies: In a standalone utility, the subject may be ambiguous.
  5. isDocumentAccessAllowed

    • Reading-aloud test: “Is document access allowed?” Clear and policy-oriented.
    • Implies: Produces a definitive allow/deny result from access rules.
    • Mis-implies: Does not explicitly identify the user as part of the decision.
  6. isUserAuthorizedForDocument

    • Reading-aloud test: “Is user authorized for document?” Understandable but somewhat stiff.
    • Implies: Performs an authorization check covering multiple policy factors.
    • Mis-implies: May suggest permission to perform every action, not merely access or viewing.
  7. evaluateDocumentAccess

    • Reading-aloud test: “Evaluate document access.” Clear, but not obviously boolean.
    • Implies: Applies role, ownership, and sharing rules to reach a
Utiliser Consultant en nommage Le formulaire s'ouvre rempli avec les entrées de cet exemple ; modifiez ce que vous voulez.