MM-30005: Require manage_system to patch system_admin role. (#16096)

* MM-30005: Require manage_system to patch system_admin role.

* MM-30005: Updates logic to include other new system roles.

* MM-30005: Removes unused translation.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Martin Kraft
2020-12-16 13:01:15 -05:00
коммит произвёл GitHub
родитель 18ac6af9b3
Коммит d2ad98bffd
2 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@@ -1954,10 +1954,6 @@
"id": "api.restricted_system_admin",
"translation": "This action is forbidden to a restricted system admin."
},
{
"id": "api.roles.patch_roles.admin_role.error",
"translation": "System Admin role cannot be edited or changed"
},
{
"id": "api.roles.patch_roles.license.error",
"translation": "Your license does not support advanced permissions."