Hi Guys, I'm having trouble on applying taxonomy_access and restricting "SmartDocs models".
I have a Pet Store Model for example:
This will be added as a term in the SmartDocs Vocabulary:
(Structure>Taxonomy)
Tried to apply access rules for my role "Company 1 Test". Added SmartDocs Model vocabulary and pet-store term. Then I set View and View Tag to Deny:
(Configuration>People>Taxonomy Access Control>Company 1 Test)
I have a user that has the role Company 1 test
but the user can still access the pet-store SmartDocs.
Did I miss any of the step?
Hi @Kenu Sagullo Cardino,
Couple of things you can check -
- mark global default view also deny, just check if global is working or not,
- Create a user who has only role company test 1
- Check if core permission are overriding the module based permission
- more importantly - check how the models view page has been designed because if this is something which fetches the terms detail without taxonomy access module feature would be a problematic.
- clear the cache
- cross check if minor things you are missing which we can't see here.
Answer by Kenu Sagullo Cardino · Jul 24 at 09:52 AM
@itravindrasingh Thanks for the input. Made a silly mistake. I have enabled access_content and access_content_rule with the wrong configuration. I disabled it respectively and fixed the taxonomy access control of the Authenticated User role.