Aero\\Admin\\Traits\\HasPermissions

This trait adds the ability to add permissions to a class easily. The trait adds the following methods:

permissions Method

This method accepts an array that will set the permissions required.

allowed Method

This method optionally accepts a user and will return if the user has the required permissions.


Revision #1
Created 2026-09-02 13:28:50 UTC by Michael Price
Updated 2026-09-02 13:28:50 UTC by Michael Price