Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
how to restrict Liferay DXP, Sites option in control panel.
hi All,
i have created one user in liferay and i have given centain permission to view only user and organisation in control panel that is i actually want , however that Sites option is also coming , i checked my permission i didn't select any site releated checkbox , but its automatically .. i want to hide for particular user which i have created.
i am attaching .png with this post
Attachments:
create a custom role w/ proper permissions, you should be able to achieve what you need.
Hi Nagendra,
It willl be helpful for others if you write the steps to do the proper pemission to disable the Site hide permission.
- Zubair
Hi Nagendra,
PFA, i have given certain permission , can you please provide proper permission ,so i can do easily. thank you
Attachments:
Attaching screen shots for the custom role I have created.
Note that you still might get permissions through the generic "User" role, or through the implicit "Site Member".
What's the content that you can see in that Sites/Sites section that is visible? This might give a hint as to which path the permission comes through.
Hi Olaf,
I have checked that , i have defined these Sites in "Default User Assoication" because of that when i am creating new user and assign above role for viewing only "user and organization" tab ,however "Sites" option automatically coming .
Now my different concern is "how can i restrict those default site would not be assign for manually created user . however we want assign those default site for other users which we are importing from LDAP.
Actual:
Control panel related Site option shown to perticuler user.
Expected:
Control panel related Site option should not shown to perticuler user.
Gagan Mungi:I have checked that , i have defined these Sites in "Default User Assoication" because of that when i am creating new user and assign above role for viewing only "user and organization" tab ,however "Sites" option automatically coming .
That seems to be the cause: "Default User Association" means that all users are member of those sites, and this is how they get the permissions on a different way than through the default roles.
I currently don't have the time to try a workaround, but maybe it helps knowing where the behavior comes from. I'm not sure if a simple change in the default permissions will help (e.g. in "Site Member") or if more is needed. I hope someone finds the time to try out before I do...
Hi Nagendra,
i have already assign same roles for particular user .. please add sites in Default user Associations and login with created user .. Sites option will come.
Powered by Liferay™