Drupal Version
10.2.2
Domain module version
2.0.x-dev
Expected Behavior
Users should be able to use the Domain Content helper module's Admin > Content > Affiliate Content admin view to view content for Domains they are assigned to (assuming they have the Domain content permission "Access domain content pages")
Actual Behavior
When the Domain Access Entity module is also installed, authorized users see the Admin > Content > Affiliate Content menu link, but when they follow it they get access denied.
Steps to reproduce
- Enable Domain Access module
- Enable Domain Content helper module
- Enable Domain Access Entity module
- Create or edit user
- Give them role that has Domain Content "Access domain content pages" permission enabled - this role also needs all the basic editor admin, domain and domain entity permissions needed to edit nodes assigned to the same domain they are assigned to (remember to rebuild permissions if you change role permissions)
- Login or masquerade as that user
- Select Content > Affiliate Content from the Admin menu
- You will get access denied
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | domain-3426236-2.patch | 974 bytes | banoodle |
Issue fork domain-3426236
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
banoodle commentedUploading patch that fixes this issue.
Comment #3
banoodle commentedUn-assigning self.
Comment #7
mably commentedRebased MR on 2.0.x.
I’m not sure what should be done with this issue.
Are people still interested or should we close it?
Asking the 4 followers of this issue.
Comment #8
mably commentedComment #9
mably commentedI guess the problem should rather be fixed in the related module, as described here #3129265: Domain Access field: machine name should match machine name declared on Domain Access module.
We can just keep this around for people that need the patch.
Comment #10
mably commentedUnless new, valuable information is provided, this issue will be closed in 3 months.
Comment #11
mably commentedClosing as "Won't fix" for now.
The long term solution is to extend
domain_accessto make it compatible with all entity types.Feel free to create an issue for that.