The security service was caching the groups, but was not updating the
cache when new groups were added.  I did not have time to fix it and
keep the cache, so I removed the caching.  This has been in cvs for
probably a couple weeks.

john mcnally

Scott Eade wrote:
> 
> It seems that it is necessary to restart my turbine application
> in order to be able to use a newly created group.  Here
> is the order of events:
> 
> 1. Create a new Group "newgroup"
> 2. Create a new User and grant the Role "arole" in the group
> "newgroup".
> 3. Login as the new user and execute
> user.getACL().hasRole("arole", "newgroup") - returns false
> 4. Restart the application
> 5 Login as the new user and execute
> user.getACL().hasRole("arole", "newgroup") - returns true
> 
> Is the restart absolutely necessary, or is there a way to make
> this work without it?
> 
> Also, my current design involves creating a large number
> of groups.  Is this going to become inefficient?  Am I better
> of restructuring the security around a small number of groups?
> 
> Thanks,
> 
> Scott
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to