upd(rbac): update api call response types
This commit is contained in:
@@ -3,9 +3,12 @@ package types
|
||||
type (
|
||||
User struct {
|
||||
Username string `json:"username"`
|
||||
AssignedRoles []string `json:"assignedRoles"`
|
||||
AuthorizedRoles []string `json:"authorizedRoles"`
|
||||
}
|
||||
|
||||
Session struct {
|
||||
ID string `json:"session"`
|
||||
Username string `json:"username"`
|
||||
Roles []string `json:"roles"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user