| 1 | Source: libcatalyst-plugin-authorization-roles-perl |
| 2 | Section: perl |
| 3 | Testsuite: autopkgtest-pkg-perl |
| 4 | Rules-Requires-Root: no |
| 5 | Priority: optional |
| 6 | Maintainer: Debian Perl Group <[email protected]> |
| 7 | Uploaders: Damyan Ivanov <[email protected]> |
| 8 | Build-Depends: debhelper-compat (= 13), libmodule-install-perl |
| 9 | Build-Depends-Indep: libcatalyst-perl, |
| 10 | libcatalyst-plugin-authentication-perl, |
| 11 | libset-object-perl, |
| 12 | libtest-exception-perl, |
| 13 | libuniversal-isa-perl, |
| 14 | perl |
| 15 | Standards-Version: 4.1.5 |
| 16 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libcatalyst-plugin-authorization-roles-perl |
| 17 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libcatalyst-plugin-authorization-roles-perl.git |
| 18 | Homepage: https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles |
| 19 | |
| 20 | Package: libcatalyst-plugin-authorization-roles-perl |
| 21 | Architecture: all |
| 22 | Depends: ${misc:Depends}, ${perl:Depends}, |
| 23 | libcatalyst-plugin-authentication-perl, |
| 24 | libcatalyst-perl, |
| 25 | libset-object-perl, |
| 26 | libuniversal-isa-perl |
| 27 | Description: Role based authorization plugin for Catalyst |
| 28 | Catalyst::Plugin::Authorization::Roles provides role-based authorization |
| 29 | (access control) for Catalyst applications. |
| 30 | . |
| 31 | Role based access control is very simple: every user has a list of roles, |
| 32 | which that user is allowed to assume, and every restricted part of the app |
| 33 | makes an assertion about the necessary roles. |
| 34 | . |
| 35 | With assert_user_roles, if the user is a member in all of the required roles |
| 36 | access is granted. Otherwise, access is denied. With assert_any_user_role it |
| 37 | is enough that the user is a member of one role. |
| 38 | . |
| 39 | There are alternative approaches to do this on a per action basis, see |
| 40 | Catalyst::ActionRole::ACL. |
| 41 | . |
| 42 | Catalyst is an elegant Model-View-Controller web application framework |
| 43 | written in Perl. |