How to add a user to a role
Last updated
Last updated
To add a user to a role you can go through that diagram. In this diagram you can see the endpoints that are described in the previous sections.
1
no parameters
a list of available roles with appropriate permissions, where you should choose a suitable role, if you need another role go to step 5
2
no parameters
a list of employees, you should copy {guid}
of the employee that you want to add to role, if you need another employee go to step 4
3
{role_name}
from step 1
{user_guid}
from step 2
a user is added to role
4
a new employee with role is created
5
a new role is created
6
no parameters
a list of availible permissions, you should find permission that you need with "keto_kind": "endpoint"
, copy
{guid}
of that permission.
7
{permission_guid}
from step 6
{role_name}
from step 1
a new permission added to role
see description in, {role_name}
from step 1
see description in