36d6df7885
* fix(rbac) user in 2 teams with mix of endpoint admin and operator has perms of endpoint admin EE-587 * fix(rbac) add unit test for getKeyRole function EE-587 Co-authored-by: Simon Meng <simon.meng@portainer.io>