CakePHP 5.x User Management Premium Plugin Version 5.0.x
This plugin has very nice interface for managing site page permissions. You can change permissions from Admin Interface by clicking Permissions link.
Please note: For Group and Sub groups Permissions I have added separate pages.
This page shows all controllers list with their functions and plugin name to which it belongs.
Here you can set and unset permissions for any group.
By default plugin do not check permissions for Admin. You can enable permissions checking for admin from All Settings page.
If you want to give any page permission to public/guest then select Guest group of required function of controller in list and assign permission.
This plugin checks permission on each and every request.
This plugin makes a cache for fast checking permissions and does not hit database each time.
When you change any permission from Permission page it deletes the cache automatically.
This plugin also checks permission for prefix routing URLS.