Created on 20 August 2014, almost 10 years ago
Updated 16 March 2023, over 1 year ago

Hello,

Thank you for sharing this much needed module with the community! I'm overwhelmed at the moment studying node access control in drupal (in general), and I think your module will help me. I am having trouble with the "Shared" access approach.

Steps:

  1. I have a content type (dept_file) that contains a node reference field (dept).
  2. I added the same dept field to the user profile fields.
  3. I selected dept "finance" for user "ann" on the user profile page.
  4. I went to the configuration page (admin/config/content/access_by_ref) and entered the following under "Shared": Grant Access to User with Shared Profile Value":
    dept_file|dept
  5. I gave ann's role (dept file creator) the Access By Reference permission.
  6. I rebuilt the permissions.
  7. Cleared the cache.

I'm actually not sure what order I completed these steps in. But when I logged in as ann, and went to edit a dept_file I did not own, I did not have permissions to do so. Did I miss anything? The dept_file has "finance" selected as the dept.

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States ann b

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

Comments & Activities

Not all content is available!

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

Production build 0.69.0 2024