CatalystX::Usul::Roles::DBIC - Role management database storage


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.

Index


Name

Top

CatalystX::Usul::Roles::DBIC - Role management database storage

Version

Top

0.3.$Revision: 576 $

Synopsis

Top

   use CatalystX::Usul::Roles::DBIC;

   my $class = CatalystX::Usul::Roles::DBIC;

   my $role_obj = $class->new( $app, $config );

Description

Top

Methods to manipulate the roles and user_roles table in a database using DBIx::Class. This class implements the methods required by it's base class

Subroutines/Methods

Top

build_per_context_instance

Make copies of DBIC model references available only after the application setup is complete

add_user_to_role

   $role_obj->add_user_to_role( $role, $user );

Adds the specified user to the specified role

create

   $role_obj->create( $role );

Creates a new role with the given name

delete

   $role_obj->delete( $role );

Deletes the specified role

remove_user_from_role

   $role_obj->remove_user_to_role( $role, $user );

Removes the specified user to the specifed role

Diagnostics

Top

None

Configuration and Environment

Top

None

Dependencies

Top

CatalystX::Usul::Roles

Incompatibilities

Top

There are no known incompatibilities in this module

Bugs and Limitations

Top

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Top

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Top


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.