User Access, Roles, Permissions and Configurations framework Tools for administering user access.
https://gitlab.com/steinhaug/uarpc/-/wikis/home
https://lucid.app/lucidspark/invitations/accept/19b35103-eaa4-4b0c-82c4-c124a1ac8880
To install the library use composer:
composer require steinhaug/uarpc
or specify version
composer require "steinhaug/uarpc:^1.*"
new uarpc(opt 'table_prefix'); // needed for loading uarpc classes
$uarpc = new UARPC_base($UserId);
... see docs for rest
Use the WIKI pages documentation or the markdown files inside the /docs folder.
Manually add /dist folder for local development.
Added $GLOBALS['steinhaugUarpcDbPrefix'] for all classes.
Fixed composer requirements.
Added UserID parameter so it's possible to check against any user.
->havePermission(PermTitle, UserID),
Moved Mysqli2 into seperate project