Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Eric Smith
Permissions for organization roles
13 giugno 2013 10.39
Risposta

Eric Smith

Punteggio: Junior Member

Messaggi: 62

Data di Iscrizione: 28 agosto 2012

Messaggi recenti

I'm having permission issues with an organization role that I created. I can't seem to give the organization role that I created view permissions to some web content.

Here's my setup:
- I have a hierarchy of organizations, and a user SalesUser at one of the leafs, and a user SupportUser at the same leaf
- I have several organization roles defined (ex. Sales, Support)
- My SalesUser is given the organization role of Sales
- My SupportUser is given the organization role of Support
- I have an asset publisher that contains 2 posts (created by admin user)
- Post 1: All roles have view access (Owner, Sales, Support, Organization User)
- Post 2: Only Owner and Sales (organization role) have view access

The admin user can view both posts, however the user SalesUser can only view Post 1. Why can't they view Post 2? How do I get Post 2 showing up for SalesUser and not SupportUser?

When I modify Post 2 so that the role Organization User has view access, both SalesUser and SupportUser have view access (which makes sense). So it seems like the role Organization User is working, but the Sales and Support roles are not working.

All these 3 organization roles (Organization User, Sales, Support) don't have any permissions specifically associated with them. When I add view web content permission to the role Sales, the permission is greyed and checked in the web content, but the SalesUser can't view it in the asset publisher.

I've also tried adding view permissions for Asset Publisher and Web Content to the role Sales.

Thanks.

Eric
Antoine Comble
RE: Permissions for organization roles
16 luglio 2013 8.16
Risposta

Antoine Comble

Punteggio: Regular Member

Messaggi: 221

Data di Iscrizione: 7 settembre 2012

Messaggi recenti

Hi Eric,

To do this, you could create 2 categories.
cat1 : viewable by all users
cat2 : viewable for all users except supportUser
To do it, edit permission on category after creating it.

Then, when you create a content, add the good category on it.

After, in asset publisher configuration mode, add filter on category :
select any in dropdown list and add all categories.

After doing this, supportUser should view only content categorized with cat2 category.
salesUser should view all contents categorized with cat1.

Hope this help you,

Antoine
Eric Smith
RE: Permissions for organization roles
22 luglio 2013 9.45
Risposta

Eric Smith

Punteggio: Junior Member

Messaggi: 62

Data di Iscrizione: 28 agosto 2012

Messaggi recenti

Thanks for the feedback. In our situation we need to use organizations for this so the category solution won't work. We are now looking into achieving what we need using hooks and an ext because Liferay doesn't support our complex permission requirements OOTB.