0
votes

I am using liferay 6.1.1 . There is a login portlet on a page which its view permissions removed from portlet configuration so that there is no way to view the portlet and no one can login to portal!

  1. Is there any way for change portlet permissions other than portlet configurations?
  2. Which database table Liferay store default portlets configuration permissions?
1
You DO NOT want to change content in Liferay's tables manually. Seriously. In 99% of cases where somebody asks about the backend tables used to store internal information, they set themselves up for a disaster. I've seen cases where the disaster happened months after the manual database-write-operation. Liferay's API implementation assumes it's the only one writing to the database - do yourself a favour and don't confuse the API. (The 1% missing are people that have teammates with a lot of experience in Liferay implementation to double/triple check if their operation makes sense) - Olaf Kock

1 Answers

0
votes
  1. Portlet Level Permission is used when you want to restrict the access to that Particular portlet with necessary permission then you set same through Portlet Configuration.

  2. If you want the same permission for that portlet to be applicable through out the Site, Portal (i.e. login porlets in any pages of Site or Portal) you can use site role, regular role respectively from Control Panel and for Role > Define Permission for that Particular Portlet with your desired permission that will apply to all users in that role.

For more details you can also go through Liferay Admin Guide to know more on Permissions.

Database table that store portlet permissions is ResourcePermission

Hope this Helps !