on 03-24-2015 2:18 PM
We have a requirement where we have different cms sites for different countries and each site has a cmsmanager. If the cmsmanager of country1 enters the cms cockpit, he should only see his country's website in the list of websites. How do we enforce this restriction?
Thanks Venkatesh.., this helped..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashanth, You can try to create separate cmsmanager groups for users of each country by extending cmsmanagergroup. Then you can create searchRestriction on CMSSite for each cmsmanagergroup separately. eg.
INSERT_UPDATE UserGroup;UID[unique=true];groups(uid)[mode=replace]; ;cmsmanagergroup1;cmsmanagergroup1;cmsmanagergroup for country A; ;cmsmanagergroup2;cmsmanagergroup1;cmsmanagergroup for country B;
INSERT_UPDATE SearchRestriction;code[unique=true];name[lang=en];query;principal(UID);restrictedType(code);active;generate
;cmssite_restriction1;Restrict CMSSite visibility;{item:pk} NOT IN (111111);cmsmanagergroup1;CMSSite;true;true;cmssite_restriction2;Restrict CMSSite visibility;{item:pk} NOT IN (2222);cmsmanagergroup2;CMSSite;true;true
1111 is pk of CMSSite for country A & 2222 is for country B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.