541 B
541 B
This file is still very much a WIP.
An user has a number, a login, an email address, a profile (Hash(String, JSON::Any)
) and permissions.
An admin
boolean also tells weither or not the user is an administrator.
Requests work mostly on current user. Some take a UserID to identify another user (its number or its login, both are valid), which often implies admin permissions.
Permissions are: None, Read, Edit, Admin.
Plus, the admin
boolean value in the AuthD::User
class.
TODO: continue explaining design choices.