Skip to content

Guide ​

TinyAuth stores public-action rules and role permissions in two files. It extends CakePHP’s official Authentication and Authorization plugins; those plugins still provide login, identities, middleware, and entity policies.

FilePurpose
auth_allow.iniActions available without an authenticated identity
auth_acl.iniController actions available to each role

Start with Installation, then Getting started. The Authentication and Authorization guides explain the integration and rule syntax. See Configuration for shared options and cache invalidation, or Troubleshooting when a request behaves unexpectedly.

TinyAuth checks access to an action. Use entity policies or equivalent server-side checks to decide whether a user may read or change a particular record. The AuthUser helper can hide links based on those action permissions; hiding a link does not protect its endpoint.

Released under the MIT License.