Centum\Access

This component simplifies access control management.

Users (or groups of users) can allowed or denied the privilege of an activity. Activities are known by a single string identifier, as are users/groups, to keep things simple.

Centum\Access\Access(
    bool $default = Centum\Access\Access::ALLOW
);

Centum\Access\Access implements Centum\Interfaces\Access\AccessInterface.

Centum\Access\Access has 2 public constants:

  • Centum\Access\Access::ALLOW
  • Centum\Access\Access::DENY

Table of contents