![]() |
![]()
| ![]() |
![]()
NAMEMooseX::Meta::Method::Authorized::CheckRoles - Check roles of the user DESCRIPTIONThis verifier module will check if the user has any of the roles defined in the "requires" attribute of the method. To get the user this module will call "user" on the object which is the invocant for this method, to get the roles it will call "roles" on the user object. METHODS
SEE ALSOMooseX::AuthorizedMethods, Class::MOP::Method AUTHORSDaniel Ruoso <daniel@ruoso.com> With help from rafl and doy from #moose. COPYRIGHT AND LICENSECopyright 2010 by Daniel Ruoso et al This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|