Fórum
Java : How define access rights between a layout and a role
Hoel Chatellier, modificado 11 Anos atrás.
Java : How define access rights between a layout and a role
New Member Postagens: 20 Data de Entrada: 11/07/12 Postagens Recentes
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 11 Anos atrás.
RE: Java : How define access rights between a layout and a role
New Member Postagens: 20 Data de Entrada: 11/07/12 Postagens Recentes
By the interface, it's this :
I just want make this by code.
I just want make this by code.
Hoel Chatellier, modificado 11 Anos atrás.
RE: Java : How define access rights between a layout and a role
New Member Postagens: 20 Data de Entrada: 11/07/12 Postagens Recentes
Nobody have an idea ?
Sat C, modificado 11 Anos atrás.
RE: Java : How define access rights between a layout and a role (Resposta)
New Member Postagens: 14 Data de Entrada: 22/12/11 Postagens Recentes
You can use "ResourcePermissionLocalServiceUtil.addResourcePermission".
Hoel Chatellier, modificado 11 Anos atrás.
RE: Java : How define access rights between a layout and a role
New Member Postagens: 20 Data de Entrada: 11/07/12 Postagens Recentes
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.