NAME

Authorization::RBAC::Backend::DBIx - Backend 'DBIx' for Authorization::RBAC

VERSION

version 0.12

CONFIGURATION

use Catalyst qw/
                 Authorization::Roles
                 Authorization::RBAC
               /;

# in your config
Authorization::RBAC:
  debug: 0
  backend:
    name: DBIx
    model: Model::RBAC

REQUIRED SCHEMA

See t/lib/Schema/RBAC/Result/

User -> UserRole -> Role

Role -> Permission -> Object ( -> TypeObj ) -> Operation

PROVIDED METHODS

get_operations( $operations )

get_permission( $role, $op, $obj )

AUTHOR

Daniel Brosseau, <dab at catapulse.org>

LICENSE AND COPYRIGHT

Copyright 2011 Daniel Brosseau.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.