summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-09-20 13:02:08 -0300
committerChristopher Speller <crspeller@gmail.com>2016-09-20 12:02:08 -0400
commit33e20b874e9709fc8d9e45ffb8d0c2357bc79e8d (patch)
treee4a39214e462ca76a8a3a10a69feb99c29a1b010 /model
parent4e3d46521096a8f9a0b8b3461e0b1b44768c9e84 (diff)
downloadchat-33e20b874e9709fc8d9e45ffb8d0c2357bc79e8d.tar.gz
chat-33e20b874e9709fc8d9e45ffb8d0c2357bc79e8d.tar.bz2
chat-33e20b874e9709fc8d9e45ffb8d0c2357bc79e8d.zip
PLT-4202 fix javascript error manage OAuth2 apps (#4039)
* PLT-4202 fix javascript error manage OAuth2 apps * Fix unit tests
Diffstat (limited to 'model')
-rw-r--r--model/authorization.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/authorization.go b/model/authorization.go
index a4d8bed86..75aebf55c 100644
--- a/model/authorization.go
+++ b/model/authorization.go
@@ -311,6 +311,7 @@ func InitalizeRoles() {
[]string{
PERMISSION_CREATE_DIRECT_CHANNEL.Id,
PERMISSION_PERMANENT_DELETE_USER.Id,
+ PERMISSION_MANAGE_OAUTH.Id,
},
}
BuiltInRoles[ROLE_SYSTEM_USER.Id] = ROLE_SYSTEM_USER