You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds 4 tables to the database. One each for Users, Groups,
Permissions and Tokens.
Users may request a token, check if the token is valid and revoke a token.
This token may be passed in with the header X-Auth-Token and used to validate
that the user has the required permissions to enact the request.
The db_create.py script builds the database, adds the basic set of permissions
and creates 2 groups, nobody (with no permissions) and superuser (with all
permissions). This script also creates the first user in the system and adds
them to the superuser group.
fixes091labs#3fixes091labs#4
The token currently just stores the user id without any reference to the User table.
The text was updated successfully, but these errors were encountered: