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.90.0 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 150600.1.1 Date : 2024-07-19 23:01:54
Group : Unspecified Source RPM : perl-Catalyst-Plugin-Authorization-Roles-0.90.0-150600.1.1.src.rpm
Size : 0.01 MB
Packager : https://www_suse_com/
Summary : Role based authorization for Catalyst based on Catalyst::Plugin::Authentication
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
Catalyst::ActionRole::ACL.

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
iCatalyst::Authentication::Store::DBIx::Class optimize the check this way.

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

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Catalyst-Plugin-Authorization-Roles-0.90.0-150600.1.1.noarch.rpm
     

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

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Catalyst::Plugin::Authentication) >= 0.100.30
perl(Catalyst::Runtime) >= 5.700.0
perl(Set::Object) >= 1.14
perl(UNIVERSAL::isa) >= 0.05
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/Plugin
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/Plugin/Authorization
/usr/lib/perl5/vendor_perl/5.26.1/Catalyst/Plugin/Authorization/Roles.pm
/usr/lib/perl5/vendor_perl/5.26.1/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