フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Hoel Chatellier
Java : How define access rights between a layout and a role
2012/07/30 6:08
答え

Hoel Chatellier

ランク: New Member

投稿: 20

参加年月日: 2012/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.
Hoel Chatellier
RE: Java : How define access rights between a layout and a role
2012/07/31 1:38
答え

Hoel Chatellier

ランク: New Member

投稿: 20

参加年月日: 2012/07/11

最近の投稿

By the interface, it's this :



I just want make this by code.
Hoel Chatellier
RE: Java : How define access rights between a layout and a role
2012/08/02 6:35
答え

Hoel Chatellier

ランク: New Member

投稿: 20

参加年月日: 2012/07/11

最近の投稿

Nobody have an idea ?
Sat C
RE: Java : How define access rights between a layout and a role
2012/08/02 16:55
答え

Sat C

ランク: New Member

投稿: 14

参加年月日: 2011/12/22

最近の投稿

You can use "ResourcePermissionLocalServiceUtil.addResourcePermission".
Hoel Chatellier
RE: Java : How define access rights between a layout and a role
2012/08/13 8:47
答え

Hoel Chatellier

ランク: New Member

投稿: 20

参加年月日: 2012/07/11

最近の投稿

Yes,
finaly it works with this,
but it took me a while to understand exactly what he expected parameters.

Thank you.