[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Changing perspective views based on user authorization
|
I am trying to implement Authentication and Authorization for an eclipse
RCP application using ACEGI. Authentication was straight forward.
I am wondering if anybody dealt with how to deal with Authorization from
an RCP application sense.
My example scenario
I have three roles
1) Admin
2) Data entry
3) Manager
I have some views
1) View A
2) View B
3) View C
4) ciew D
Some Menu/Toobar/Coolbar actions
If i want to show certain views/menu actions based on a user role, what
can be a good approach.
I thought about having 1 perspective for role, limitation being when i
add a role to my system i have to add a perspective to.
Another way would be maintain a mapping of views/actions based on roles
and dynamically construct the perspective.
Any info on anyone who tired this before is appreciated
Thanks
Raj