当前位置: 动力学知识库 > 问答 > 编程问答 >

glassfish 3 - In Liferay 6.1 CE, how do I let users, in a User Group, view that User Group's web pages?

问题描述:

I have a Liferay 6.1 CE installation running on Glassfish 3.1.1.

I have created a few User Groups, and some accompanying private site pages. For example:

User Group

  1. Customers

Public Pages

  • no pages

Private Pages

  1. Welcome
  2. Billing
  3. Payment

I have created a Post Login Action that pulls the user's User Group and then builds a path from that.

I have assigned a few test users to the 'Customers' user group. But when I log in with one of these customers, I get the following error screen

and the following log message

INFO: 19:11:40,760 INFO [PortalImpl:4873] Current URL /en/group/56058 generates >exception: User 29354 is not allowed to access the private pages of group 56059

INFO: 19:11:40,762 INFO [PortalImpl:4890] User 29354 is not allowed to access the private >pages of group 56059

The user is obviously a member of the User Group

And the Customer User Group's Site allows the "Site Member" role to "View" its pages

...

Does anyone have any idea how to allow a user, that is a member of a User Group, to view that User Group's private pages?

网友答案:

Create a new Regular Role e.g. Customers and add your UserGroup to this Role as member. Add the View-Permission at your private pages to this Role.

分享给朋友:
您可能感兴趣的文章:
随机阅读: