This content has been marked as final. Show 9 replies
You need to configure the access controls using Generic Activities. There is an XML file called publishingActivities.xml file in CONFIGPATH. Check the existing file in ATG under Publishing\base\config\atg\bizui\activity folder. This will give you some idea. ATG is using different file names and folder structure in different modules, but if you refer this file you will be able to configure access rights for your custom tab.
Edited by: Rajeev_R on Feb 14, 2013 3:13 AM
I have just tried to verify what the acl role is doing in the xml(like PublishingActivities.xml) file of my cutomized tab as below-
but it not affecting any change in the tab and I am able to see/access all asstes in BCC home page.
Please correct me if I am doing wrong and suggest me some steps to do that.
What are the other values you have given?
Can you edit the workflow activities XML file and give your ACL like below, if your custom tab is based on a workflow.
Refer /atg/commerce/web/CommerceActivitySource from dyn/admin for details.
I have tried in genericActivities.xml file with below line-
<acl>Profile$role$epubSuperAdmin:deny</acl> and now it's working.
My customized tab is not showing there now.
Now can you please tell me how can I customized this acl role for a particular user of bcc?
Thanks for your helpful replies!
You need to create a particular role say 'customBCCRole' and define your ACL on this role. You need to assign this role to the users whom you want to restrict the access.
You can also pass the userId here like below
I have followed the steps as you mentioned and made a new user-prateek and assigned my custome role.
But problem is the tab is disappeared for every user.
I think the problem is when I am creating the user in bcc it asks for Parent Organization under Orgs & Roles tab;
when I select the parent organization, it shows only 'Root' and all other user I have , had the same parent organization.
That is why the tab is disappeared for every user(I am guessing).
Can you tell me how to solve this problem so that I am able to use my custom roles for A PARTICULAR USER.
below is my xml snippet-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Previuosly I have given deny to epubsuperadmin only and it is disaapearing the tab but now I have tried with above one to test if it is working for a user or not.