Foros de discusión
Java : How define access rights between a layout and a role
Hoel Chatellier, modificado hace 11 años.
Java : How define access rights between a layout and a role
New Member Mensajes: 20 Fecha de incorporación: 11/07/12 Mensajes recientes
Hi !
With the interface, we can define access rights for a layout by role,
but, how can we make it with code ? By exemple, define the UPDATE permission
for the Organisation User for the layout X.
Thanks for your answers.
With the interface, we can define access rights for a layout by role,
but, how can we make it with code ? By exemple, define the UPDATE permission
for the Organisation User for the layout X.
Thanks for your answers.
Hoel Chatellier, modificado hace 11 años.
RE: Java : How define access rights between a layout and a role
New Member Mensajes: 20 Fecha de incorporación: 11/07/12 Mensajes recientes
By the interface, it's this :
I just want make this by code.
I just want make this by code.
Hoel Chatellier, modificado hace 11 años.
RE: Java : How define access rights between a layout and a role
New Member Mensajes: 20 Fecha de incorporación: 11/07/12 Mensajes recientes
Nobody have an idea ?
Sat C, modificado hace 11 años.
RE: Java : How define access rights between a layout and a role (Respuesta)
New Member Mensajes: 14 Fecha de incorporación: 22/12/11 Mensajes recientes
You can use "ResourcePermissionLocalServiceUtil.addResourcePermission".
Hoel Chatellier, modificado hace 11 años.
RE: Java : How define access rights between a layout and a role
New Member Mensajes: 20 Fecha de incorporación: 11/07/12 Mensajes recientes
Yes,
finaly it works with this,
but it took me a while to understand exactly what he expected parameters.
Thank you.
finaly it works with this,
but it took me a while to understand exactly what he expected parameters.
Thank you.