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
Pedro Guimarães edited this page Dec 4, 2015
·
1 revision
There are two user roles in the system:
Admin - Responsible for user management
Simple - Regular user interested in data consumption
There are two states for a user:
Authorized - The user will be granted valid tokens upon logon;
Unauthorized - The user will not be granted valid tokens upon logon and, therefore, will not be able to perform any operations that require token based authorization and authentication;
By default, the API creates a single admin account: admin@sibbr.gov.br, granted with authorization, so it can login and fetch valid tokens to start performing admin operations.
All other users, that should register using the form login, will depend on the admin authorization to start receiving permissions to fetch valid tokens and start performing API operations.