留言板

Change default permission

Rei Mat,修改在11 年前。

Change default permission

Junior Member 帖子: 44 加入日期: 10-9-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
Kenneth Chang,修改在11 年前。

RE: Change default permission

Junior Member 帖子: 25 加入日期: 11-5-9 最近的帖子
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.
Rei Mat,修改在11 年前。

RE: Change default permission

Junior Member 帖子: 44 加入日期: 10-9-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
Kenneth Chang,修改在11 年前。

RE: Change default permission

Junior Member 帖子: 25 加入日期: 11-5-9 最近的帖子
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