security/p5-Tree-Authz 0.03_1 FreeBSD
Role-Based Access Control authorization scheme
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- security, perl5
- Package size
- 20.0 KiB, 41.2 KiB installed
Description
Class for inheritable, role-based permissions system (Role Based Access Control - RBAC).
Custom methods can be placed on role objects. Authorization can be performed either by checking whether the role name matches the required name, or by testing (via can) whether the role can perform the method required.
Two role are specified by default. At the top, superusers can do anything ($superuser->can( $action ) always returns a coderef). At the bottom, the base role can do nothing ($base->can( $action ) always returns undef).
All roles are automatically capable of authorizing actions named for the singular and plural of the role name.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/p5-Tree-Authz | 0.03_1 |
| DragonFly | security/p5-Tree-Authz | 0.03_1 |
Install
Binary package:
pkg install p5-Tree-Authz
From the ports tree:
cd /usr/ports/security/p5-Tree-Authz/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Tree-Authz>0:security/p5-Tree-Authz
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.03_1 | 0.03_1 | 0.03_1 | 0.03_1 | 0.03_1 |
| FreeBSD:14:quarterly | 0.03_1 | 0.03_1 | n/a | 0.03_1 | 0.03_1 |
| FreeBSD:15:latest | 0.03_1 | 0.03_1 | n/a | 0.03_1 | 0.03_1 |
| FreeBSD:15:quarterly | 0.03_1 | 0.03_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.03_1 | 0.03_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-Class-Data-Inheritable>=0: devel/p5-Class-Data-Inheritablep5-Devel-Symdump>=0: devel/p5-Devel-Symdumpp5-Lingua-EN-Inflect-Number>=0: textproc/p5-Lingua-EN-Inflect-Number
Runtime 3
p5-Class-Data-Inheritable>=0: devel/p5-Class-Data-Inheritablep5-Devel-Symdump>=0: devel/p5-Devel-Symdumpp5-Lingua-EN-Inflect-Number>=0: textproc/p5-Lingua-EN-Inflect-Number
Test 1
p5-Test-Exception>=0: devel/p5-Test-Exception
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 5
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%PERL5_MAN3%%/Tree::Authz.3.gz
- %%PERL5_MAN3%%/Tree::Authz::Role.3.gz
- %%SITE_PERL%%/Tree/Authz.pm
- %%SITE_PERL%%/Tree/Authz/Role.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Tree-Authz-0.03.tar.gz | 12165 | badc383ad599d5acffedee608d12fe55e160b3ad1c957cfed0bf2303b3e44dbc |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.