SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Catalyst-Plugin-Authorization-Roles rpm build for : OpenSuSE. For other distributions click perl-Catalyst-Plugin-Authorization-Roles.

Name : perl-Catalyst-Plugin-Authorization-Roles
Version : 0.09 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.1 Date : 2017-07-06 17:13:16
Group : Development/Libraries/Perl Source RPM : perl-Catalyst-Plugin-Authorization-Roles-0.09-1.1.src.rpm
Size : 0.01 MB
Packager : (none)
Summary : Role based access control for Catalyst
Description :
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.

With \'assert_user_roles\', if the user is a member in *all* of the required
roles access is granted. Otherwise, access is denied. With
\'assert_any_user_role\' it is enough that the user is a member in *one*
role.

There are alternative approaches to do this on a per action basis, see the
Catalyst::ActionRole::ACL manpage.

For example, if you have a CRUD application, for every mutating action you
probably want to check that the user is allowed to edit. To do this, create
an editor role, and add that role to every user who is allowed to edit.

sub edit : Local {
my ( $self, $c ) = AATT_;
$c->assert_user_roles( qw/editor/ );
$c->model(\"TheModel\")->make_changes();
}

When this plugin checks the roles of a user it will first see if the user
supports the self check method.

When this is not supported the list of roles is extracted from the user
using the \'roles\' method.

When this is supported, the \'check_roles\' method will be used to delegate
the role check to the user class. Classes like the one provided with the
iCatalyst::Authentication::Store::DBIx::Class manpage optimize the check
this way.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12_SP3/noarch

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(Catalyst::Plugin::Authorization::Roles)
perl-Catalyst-Plugin-Authorization-Roles

Requires :
perl(Set::Object) => 1.14
perl(:MODULE_COMPAT_5.18.2)
rpmlib(CompressedFileNames) <= 3.0.4-1
perl(UNIVERSAL::isa) => 0.05
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(Catalyst::Runtime) => 5.7
perl(Catalyst::Plugin::Authentication) => 0.10003


Content of RPM :
/usr/lib/perl5/vendor_perl/5.18.2/Catalyst
/usr/lib/perl5/vendor_perl/5.18.2/Catalyst/Plugin
/usr/lib/perl5/vendor_perl/5.18.2/Catalyst/Plugin/Authorization
/usr/lib/perl5/vendor_perl/5.18.2/Catalyst/Plugin/Authorization/Roles.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Catalyst-Plugin-Authorization-Roles
/usr/share/doc/packages/perl-Catalyst-Plugin-Authorization-Roles/Changes
/usr/share/doc/packages/perl-Catalyst-Plugin-Authorization-Roles/README
/usr/share/man/man3/Catalyst::Plugin::Authorization::Roles.3pm.gz

 
ICM