Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Mario Striglione
Assign privileges for a pre-defined time validity
May 7, 2008 1:40 PM
Answer

Mario Striglione

Rank: New Member

Posts: 20

Join Date: February 10, 2008

Recent Posts

Hello,
I am developing an application using Liferay 4.4.2.
In this application I have several functionalities (provided by several portlets) that can be accessed by users associated to several regular roles.
I need to manage the assignment of privileges to specific users only for a limited period; for instance if I have two regular roles A and B, I can define that users associated to the role A can access to functionalities 1, 2 and 3, instead users associated to the role B can access to functionalities 4, 5 and 6.

So, summarizing:

Role - Functionalities
A - 1,2,3
B - 4,5,6

I want to be able to say that a user associated to the role B can access even to the functionalities 1, 2 and 3 only for a specific period, I can say the next three days.
Do you have any suggestion? Which can be the best approach to implement this feature?

Regards.