Foros de discusión
Restrict SITE_OWNER permission.
Laurent CHARLOIS, modificado hace 11 años.
Restrict SITE_OWNER permission.
New Member Mensajes: 6 Fecha de incorporación: 17/10/12 Mensajes recientes
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.
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, modificado hace 11 años.
RE: Restrict SITE_OWNER permission.
Regular Member Mensajes: 177 Fecha de incorporación: 23/02/10 Mensajes recientes
Hi,
Can you please elaborate more this requirement.
Regards,
Pranay
Can you please elaborate more this requirement.
Regards,
Pranay