diff options
-rw-r--r-- | mattermost.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mattermost.go b/mattermost.go index 950de2827..08963f016 100644 --- a/mattermost.go +++ b/mattermost.go @@ -225,11 +225,6 @@ func cmdAssignRole() { } if !user.IsInRole(flagRole) { - if flagRole == model.ROLE_SYSTEM_ADMIN && team.Name != "admin" { - l4g.Error("system_admin can only be added to a user in the admin team") - flushLogAndExit(1) - } - api.UpdateRoles(c, user, flagRole) } |