Role based access control is very simple: every user has a list of

roles, which that user is allowed to assume, and every restricted part
of the app makes an assertion about the necessary roles.

If the user is a member in all of the required roles access is granted.
Otherwise, access is denied.

WWW: http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles/
This commit is contained in:
Roman Kulik 2006-03-09 18:45:28 +00:00 committed by Thomas Klausner
parent 041acffd8d
commit 3c3891b77e
4 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,8 @@
Role based access control is very simple: every user has a list of
roles, which that user is allowed to assume, and every restricted part
of the app makes an assertion about the necessary roles.
If the user is a member in all of the required roles access is granted.
Otherwise, access is denied.
WWW: http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles/

View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1.1.1 2006/03/09 18:45:28 kuli0020 Exp $
DISTNAME= Catalyst-Plugin-Authorization-Roles-0.03
PKGNAME= p5-${DISTNAME}
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Catalyst/}
MAINTAINER= kuli0020@umn.edu
HOMEPAGE= http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles/
COMMENT= Role based authorization for Catalyst
DEPENDS+= p5-Catalyst>=5.49:../../wip/p5-Catalyst
DEPENDS+= p5-Catalyst-Plugin-Authentication>=0.03:../../wip/p5-Catalyst-Plugin-Authentication
DEPENDS+= p5-Set-Object>=0:../../wip/p5-Set-Object
DEPENDS+= p5-Test-MockObject>=1.01:../../wip/p5-Test-MockObject
DEPENDS+= p5-Test-Exception>=0:../../devel/p5-Test-Exception
PERL5_MODULE_TYPE= Module::Build
PERL5_REQD+= 5.8.1
PERL5_PACKLIST= auto/Catalyst/Plugin/Authorization/Roles/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/09 18:45:28 kuli0020 Exp $

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2006/03/09 18:45:28 kuli0020 Exp $
SHA1 (Catalyst-Plugin-Authorization-Roles-0.03.tar.gz) = a60ad35803fbbc59c7e5bd83596f34c0175e277b
RMD160 (Catalyst-Plugin-Authorization-Roles-0.03.tar.gz) = 00e61e5d3db430c466d7ee0f34d0a2484aff3ad1
Size (Catalyst-Plugin-Authorization-Roles-0.03.tar.gz) = 4955 bytes