掲示板

RoleConstants

12年前 に Daniel Wilmes によって更新されました。

RoleConstants

Regular Member 投稿: 164 参加年月日: 11/05/23 最新の投稿
Is there a way to define a new RoleConstant? If I wish to create a new Role, one of the parameters is a RoleConstant. But what if you want to have different role constants other that what Liferay has defined?

Thanks,
Daniel
12年前 に Daniel Wilmes によって更新されました。

RE: RoleConstants

Regular Member 投稿: 164 参加年月日: 11/05/23 最新の投稿
Okay, I think I understand the RoleConstant value that gets passed into the addRole method. That evidently deals with levels that pertain to either a user, community, or organization. So when setting up Roles permissions are what determines the actual access to the portal. I noticed there are ActionKey that get defined for access to the portal and portlets of liferay. How would you implement a new ActionKey for a custom portlet?

Thanks,
Daniel