Invalidating the ACL cache?

Working on the Grant/Revoke rights of RTx-RightsMatrix, I have
found that after revoking SuperUser from a principal, all calls
to HasRight shortly after return true.

I see 2 options:

  1. Have RevokeRight invalidate the ACL cache.
  2. Add an option to HasRight that ignores the cache.

Are there other options?

Thanks.

-Todd

Nevermind. I had a caching problem of my own.

-ToddOn Sat, Oct 15, 2005 at 12:21:09AM -0400, Todd Chapman wrote:

Working on the Grant/Revoke rights of RTx-RightsMatrix, I have
found that after revoking SuperUser from a principal, all calls
to HasRight shortly after return true.

I see 2 options:

  1. Have RevokeRight invalidate the ACL cache.
  2. Add an option to HasRight that ignores the cache.

Are there other options?

Thanks.

-Todd


Rt-devel mailing list
Rt-devel@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel