掲示板
Java : How define access rights between a layout and a role
11年前 に Hoel Chatellier によって更新されました。
Java : How define access rights between a layout and a role
New Member 投稿: 20 参加年月日: 12/07/11 最新の投稿
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.
11年前 に Hoel Chatellier によって更新されました。
RE: Java : How define access rights between a layout and a role
New Member 投稿: 20 参加年月日: 12/07/11 最新の投稿
By the interface, it's this :
I just want make this by code.
I just want make this by code.
11年前 に Hoel Chatellier によって更新されました。
RE: Java : How define access rights between a layout and a role
New Member 投稿: 20 参加年月日: 12/07/11 最新の投稿
Nobody have an idea ?
11年前 に Sat C によって更新されました。
RE: Java : How define access rights between a layout and a role (回答)
New Member 投稿: 14 参加年月日: 11/12/22 最新の投稿
You can use "ResourcePermissionLocalServiceUtil.addResourcePermission".
11年前 に Hoel Chatellier によって更新されました。
RE: Java : How define access rights between a layout and a role
New Member 投稿: 20 参加年月日: 12/07/11 最新の投稿
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.