CppRestApi permission management

Admin私のストア

Set the permissions in the auth table. Four are defined by default.

1:visitor

2:user

3: Developer

4:administrator

Register auth_id in the user table.

Register auth_id in the api table.

Set access permissions in the access table using the api_id and auth_id set.

The access method of the Auth class obtains access permissions from the api_id and auth_id.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.