I am able to assign the roles to four custom group(Admin,Record manager,User,Info) as well as created the file plan category in particular agency(for instance, agency1).Then created the Agency admin(for instance,agency1 admin) for the particular agency(for instance, agency1).Based on the group needs to assign the contributor permission for admin as well as consumer permission for Record manager,user and info group.But If I create the another agency admin(for instance,agency2 admin).If I login to agency2 admin and assigned contributor permission,while viewing the file plan category got two categories agency1 and agency2.
Need to restrict the access to show only agency1 file plan category while agency1 admin login under the Record management site.Please help to achieve in alfresco webscript.