Foren

Change default permissions of built in portlets?

Mathias Hultman, geändert vor 12 Jahren.

Change default permissions of built in portlets?

New Member Beiträge: 3 Beitrittsdatum: 08.07.11 Neueste Beiträge
I want to change the default permissions of some standard portlets, for example blogs or message boards. Ive looked at:
http://www.liferay.com/community/wiki/-/wiki/Main/Overwrite+Liferay+Portlet+Permissions
...but had no success, though Ive tried a couple of variants of this. Im using Liferay EE Portal 6.0.12.

Anyone has any tips?

Sincerely
Mathias
thumbnail
jelmer kuperus, geändert vor 12 Jahren.

RE: Change default permissions of built in portlets?

Liferay Legend Beiträge: 1191 Beitrittsdatum: 10.03.10 Neueste Beiträge
That link seems rather outdated

You can create an ext plugin
Then In your-plugin-ext/docroot/WEB-INF/ext-impl/src/resource-actions copy the original definition you want to modify
You can get the original definitions by unzipping portal-impl.jar and looking in the resource-actions folder
Finally change the copied definition and deploy with ant direct-deploy