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 can i got who had my admin portlet in personal dashboard
hi
i use liferay 6.2, updated from 6.1.1
it's happen today's morning, some user can add admin portlet in his personal dashboard, and he used it.
i want to know, how to query from db to know who already added the portlet in their dashboard.and how can i change the value to make them cannot use it.and
i checked the both portlet's liferay-portlet.xml and portlet.xml. the role-mapper only for manager, and he is not and never was.
how it happen, anything i can trace?
thank you.
i use liferay 6.2, updated from 6.1.1
it's happen today's morning, some user can add admin portlet in his personal dashboard, and he used it.
i want to know, how to query from db to know who already added the portlet in their dashboard.and how can i change the value to make them cannot use it.and
i checked the both portlet's liferay-portlet.xml and portlet.xml. the role-mapper only for manager, and he is not and never was.
how it happen, anything i can trace?
thank you.
Bwi Scarletake:
There's an "add to page" permission that the person in question shouldn't have (for this portlet), unless they have elevated permissions. On top of that, without any elevated permissions, they shouldn't have permissions on any data that could be configured with that portlet anyway.
hi
i use liferay 6.2, updated from 6.1.1
it's happen today's morning, some user can add admin portlet in his personal dashboard, and he used it.
i want to know, how to query from db to know who already added the portlet in their dashboard.and how can i change the value to make them cannot use it.and
i checked the both portlet's liferay-portlet.xml and portlet.xml. the role-mapper only for manager, and he is not and never was.
how it happen, anything i can trace?
thank you.
To figure out which page it's on won't be very simple. Disclaimer upfront: A better way would be to go through the API. Pages are called Layouts, and you can enumerate all Layouts, and check the portlets on them. That being said: You'll need to identify the portletId for the portlet in question, and most likely you'll be able to find it in some xml field in the Layout table as well. Just NEVER write to the database, it's barely ok to quickly filter/read to get an idea of what's going on, but writing to the db is out-of-question)
thank you, i will try and study for this. however, it's really weird, some user just lost all role...
again, thank you.
again, thank you.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™