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/policyApplications usually install yorvoid/symfony, which brings this package along. Read Authorization, and the rest of the documentation.
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.
Licensed under the Apache License 2.0; see also NOTICE.