Danielle,
I run out into the same problem. Did you solve it? if so, how?
thanks in advance
On Thu, Feb 11, 2010 at 11:50 PM, Daniele Dellafiore ilde...@gmail.comwrote:
Hi.
Imagine this scenario: a webapp that allows creation of groups of people.
There is the owner, the administrator
Hi.
Imagine this scenario: a webapp that allows creation of groups of people.
There is the owner, the administrator and the normal user for every group.
Like google groups, yahoo groups, facebook groups, a chat... a lot of
examples :)
If we define permission as string concatenation, I can have
your components are the ones that carry context, so...
boolean isActionAuthorized(Component component, Action action) {
if (component instanceof GroupAware) {
Group group=((GroupAware)component).getGroup();
...
-igor
On Thu, Feb 11, 2010 at 5:50 PM, Daniele Dellafiore