0
votes

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

Access Denied for user

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

Display of 'Customer' User Group members

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

User Group Site Permissions...User Group Site Permissions

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?

1

1 Answers

4
votes

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.