掲示板

Change default permission

10年前 に Rei Mat によって更新されました。

Change default permission

Junior Member 投稿: 44 参加年月日: 10/09/29 最新の投稿
Hello,

After adding a blog entry (or forum thraed), the new added entry has some default permissions automatically added (please see screenshot blog-1.png and blog-2.png).
I would like to change these default permissions set on entry level. How can I change them (or remove them)?
So that I can manage the permission only from the control panel under role...

Best regards,
Matthieu
thumbnail
10年前 に Kenneth Chang によって更新されました。

RE: Change default permission

Junior Member 投稿: 25 参加年月日: 11/05/09 最新の投稿
You'll find permission defaults in .xml files located in portal-impl/src/resource-actions/. So for blogs you'll find it at portal-impl/src/resource-actions/blogs.xml. You'll have to restart the server after making changes.
10年前 に Rei Mat によって更新されました。

RE: Change default permission

Junior Member 投稿: 44 参加年月日: 10/09/29 最新の投稿
Hi,

Thanks you for your response.
Unfortunately, I cannot find the file under the liferay order liferay-portal-6.1.1-ce-ga2.

I can only find the file in the portal source order... should I copy the file from the source, update it and copy it somewhere on my server (under WEB-INF, or within a hook?)?

Best regards,
Matthieu
thumbnail
10年前 に Kenneth Chang によって更新されました。

RE: Change default permission

Junior Member 投稿: 25 参加年月日: 11/05/09 最新の投稿
Ideally, you want to deploy your changes from source. But, if you want to modify it directly you can find it in ROOT/WEB-INF/lib/portal-impl.jar