Various small fixes to node grant storage

Created on 6 January 2015, over 10 years ago
Updated 10 February 2023, about 2 years ago

A batch of small fixes:

  1. The special handling of all as a realm is undocumented.
  2. NodeGrantDatabaseStorageInterface::checkAll had a real vague doxygen.
  3. NodeGrantDatabaseStorageInterface::alterQuery return value was incorrect.
  4. NodeGrantDatabaseStorage::access had an unnecessary closure .
πŸ“Œ Task
Status

Needs work

Version

10.1 ✨

Component
Node systemΒ  β†’

Last updated 41 minutes ago

No maintainer
Created by

πŸ‡¨πŸ‡¦Canada chx

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The Needs Review Queue Bot β†’ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide β†’ to find step-by-step guides for working with issues.

  • First commit to issue fork.
  • Merge request !11561Issue #2402635: Various fixes β†’ (Open) created by acbramley
  • πŸ‡¦πŸ‡ΊAustralia acbramley

    Rolled #36 into an MR with 2 omissions:

    1. The node.api.php docs changes didn't apply and it was hard to figure out where they were actually meant to go (those docs have since changed quite a bit). I'm happy for someone to put them back
    2. The docs changes to checkAllGrants - I may be wrong but it looks like it's checking more than "view all"?

    I also added back $access_result->addCacheContexts(['user.node_grants:' . $operation]);

  • Pipeline finished with Failed
    about 1 month ago
    Total: 221s
    #453670
  • Pipeline finished with Failed
    about 1 month ago
    Total: 583s
    #453671
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Haven't reviewed but could IS be updated please.

  • πŸ‡¦πŸ‡ΊAustralia acbramley

    Updated

  • Pipeline finished with Failed
    about 1 month ago
    Total: 520s
    #455531
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thanks, seems to have a valid test failure. Am tagging for title update as I've seen general titles before kicked back so trying to avoid that.

  • πŸ‡¦πŸ‡ΊAustralia acbramley

    Test failure was a random.

  • Pipeline finished with Success
    1 day ago
    Total: 1265s
    #479741
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Believe all feedback has been addressed.

Production build 0.71.5 2024