1
0
Fork 0
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:
Anthony Lapenna 2019-11-18 21:22:47 +13:00 committed by GitHub
parent 9decbce511
commit 81c0bf0632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 22 deletions

View file

@ -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