hi I want to know how to restrict users, for example I want userA to view only cabinets in browsertree, userB to view only homecabinet..
I created a role and added userA as member and then in the browsertree_component.xml, I copied the scope tag and added role="mycustomrole" in the scope tag. And in the second scope I only added cabinet node. In this way I am able to view only cabinets for userA. but I want to know is this the right approach as for every user or role i have to copy the scope tags and paste and add roles to them which increases the size of the file also.
Is there any alternative approach for this problem. I heard of filters but dont know how to use it. can anyone give example on filters.