I created 2 cabinets “A” and “B”.
Cabinet “A” in the acl for role “x” is allowed “View cabinets”
Cabinet “B” in the acl for role “y” is allowed “View cabinets”
For document type for role “x” and “y” I allowed “View cabinets”
Access to cabinets “A” and “B” is as expected for role “x” and “y”. Role “x” only has access to cabinet “A”
Role “y” only has access to cabinet “B”
Everything works properly here.
Unfortunately, the “x” and “y” roles do not have information on the document preview to which cabinet the document is assigned. When I give global permission for roles “x” and “y” on “View cabinets”, this information appears, but both roles have access to all cabinets.
What am I doing wrong?
There is a similar problem with the “View the events af an object” permission. When I add acl “View the events af an object” for cabinets, subscriptions do not work. The number of new notifications is displayed, after clicking the bell the list is empty. I need to add “View the events af an object” globally to the role, then everything works. I don’t want to add it globally because it affects other things.
I’m having trouble understanding the problem. I’ll take a look into attempting to replicate the behavior and get back to you.
Sorry for my English, which comes from a translator and makes communication difficult.
When I grant permissions only at the cabinet level, the user does not see which cabinet the document belongs to (black text at the very bottom of the document information) after selecting “all documents”, “recently added”, etc.
When I grant global role permissions to view cabinets, the user sees which cabinet the document belongs to. Unfortunately, you can then see other users’ cabinets (there is no access to other users’ documents and this is correct).