Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Laurent C
Restrict SITE_OWNER permission.
February 6, 2013 7:01 AM
Answer

Laurent C

Rank: New Member

Posts: 6

Join Date: October 17, 2012

Recent Posts

Hi everybody,

I want to forbid the SITE_OWNER role to delete a specific folder. This folder is created by system at the group creation.
I found that the STE_OWNER permissions are hardcoded.

I have 2 ideas to solve my problem, but both are bad in my opinion.

1. Use a newly created role for site owner, in this case i have to redefine all permissions for that role.
2. Use a EXT plugin and hardcode my restrictions, in this case i think that it will become hard to maintain the code.

Is it somebody that have another solution?

What is the model object ResourceBlockPermission? I haven't found documentation on this? Is it a way to restrict permission?

Thank you in advance.
Pranay R Patadiya
RE: Restrict SITE_OWNER permission.
February 6, 2013 11:02 AM
Answer

Pranay R Patadiya

Rank: Regular Member

Posts: 181

Join Date: February 22, 2010

Recent Posts

Hi,
Can you please elaborate more this requirement.

Regards,
Pranay