mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(api): introduce priority based logic for RBAC roles (#3374)
* fix(api): introduce priority based logic for RBAC roles * refactor(api): rename method
This commit is contained in:
parent
9decbce511
commit
81c0bf0632
4 changed files with 19 additions and 22 deletions
|
@ -303,6 +303,7 @@ type (
|
|||
Name string `json:"Name"`
|
||||
Description string `json:"Description"`
|
||||
Authorizations Authorizations `json:"Authorizations"`
|
||||
Priority int `json:"Priority"`
|
||||
}
|
||||
|
||||
// AccessPolicy represent a policy that can be associated to a user or team
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue