Closed GoogleCodeExporter closed 9 years ago
This will be difficult to specify per user. There is no "IF" logic in a header
policy.
From an Access Manager point of view, it might be better do to something like
the
following.
Inject into Custom Header
Custom Header Name: X-PWM-Shortcuts
Value: Roles
This populates the header with all the roles the user has in a comma separated
list
(could also be set to ; if required)
PWM should then read the header, separate the entries and then compare the roles
values with links. Roles can be determined by IF THEN ELSE operators, making
them
more flexible.
For example, if the X-PWM-Shortcuts header was filled with the following roles:
GoogleRole,sales,marketing,administrators,user,NovellRole,mailInternal
And the config file was as follows:
#X-PWM-Shortcut.x=HeaderEntry;;;Link Address;;;Label;;;Description
X-PWM-Shortcut.1=GoogleRole;;;http://www.google.com;;;Google;;;Google Search
X-PWM-Shortcut.2=NovellRole;;;http://www.novell.com;;;Novell;;;The Novell
website
X-PWM-Shortcut.3=mailInternal;;;https://mail.bogus.com;;;WebMail;;;Your internal
webmail system
X-PWM-Shortcut.4=Portal;;;https://portal.bogus.com;;;Portal;;;The company portal
PWM would show google, novell and webmail based on the roles.
Would that be easy to do?
Original comment by HRVermeu...@gmail.com
on 8 Jan 2010 at 9:52
Implemented in b945
Original comment by jrivard
on 1 Jun 2010 at 8:40
Closing as resolved.
Original comment by jrivard
on 16 Aug 2010 at 5:01
Original issue reported on code.google.com by
jrivard
on 4 Jan 2010 at 8:45