[Rt-devel] Proposed change to RT::Principal::HasRight

Todd Chapman todd at chaka.net
Tue Oct 11 16:14:48 EDT 2005


Principal::HasRight will return true regardless of the user
has been granted the right directly (ACLEquivalence), as
part of a group (UserDefined), or as part of a few
other group Domains.

I would like to be able to ask RT if a user has the right
directly or as being part of a group.

It's a simple patch to give HasRight a Domain list reference
option that default to the currently implemented functionality.

Is there a better way to do this or should I write, test, and
submit a patch?

-Todd



More information about the Rt-devel mailing list