BSD Ports

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

SystemPortVersion
FreeBSDsecurity/p5-Tree-Authz0.03_1
DragonFlysecurity/p5-Tree-Authz0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.03_10.03_10.03_10.03_10.03_1
FreeBSD:14:quarterly0.03_10.03_1n/a0.03_10.03_1
FreeBSD:15:latest0.03_10.03_1n/a0.03_10.03_1
FreeBSD:15:quarterly0.03_10.03_1n/an/an/a
FreeBSD:16:latest0.03_10.03_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Test 1

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
FileSizeSHA256
Tree-Authz-0.03.tar.gz12165badc383ad599d5acffedee608d12fe55e160b3ad1c957cfed0bf2303b3e44dbc
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.