Search by

yorvoid / policy

dpoposki

YorvoID's policy: declared abilities, roles with super roles and strict abilities, a realm's changes to the defaults, roles on resources, and rules, as the evaluator's elements.

v0.4.0 2026-11-13 21:08 UTC

This package is auto-updated.

Last update: 2026-11-14 22:55:48 UTC


README

YorvoID's policy: declared abilities, roles (super roles, strict abilities, the "everyone" pseudo-role), a realm's changes to the defaults kept as differences, roles given in a realm or on one resource, and rules in PHP that permit, forbid or can't tell. Groups, nested, with roles given to them; security attributes and ordered conditions; changes to the policy through operations, never giving what one doesn't hold; and, experimental, why-not and view-as. They're elements of YorvoID's evaluator, which decides YorvoID's operations and an application's own abilities alike. Part of YorvoID, identity and access management for PHP.

composer require yorvoid/policy

Applications usually install yorvoid/symfony, which brings this package along. Read Authorization, and the rest of the documentation.

Read-only

This package is developed in yorvoid/yorvoid, in packages/policy; its own repository is a read-only copy. Please open issues and pull requests in yorvoid/yorvoid, and report vulnerabilities privately as the security policy describes.

License

Licensed under the Apache License 2.0; see also NOTICE.