From f2b45436856547aa53b865b0be704b1c50a1b05e Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 14 Jun 2016 16:25:48 +0300 Subject: [PATCH] fix user priv order as well --- src/privileges.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/privileges.js b/src/privileges.js index fc31321071..49bb370b0b 100644 --- a/src/privileges.js +++ b/src/privileges.js @@ -2,7 +2,7 @@ var privileges = {}; -privileges.userPrivilegeList = ['find', 'read', 'topics:create', 'topics:read', 'topics:reply', 'purge', 'mods']; +privileges.userPrivilegeList = ['find', 'read', 'topics:read', 'topics:create', 'topics:reply', 'purge', 'mods']; privileges.groupPrivilegeList = ['groups:find', 'groups:read', 'groups:topics:read', 'groups:topics:create', 'groups:topics:reply', 'groups:purge', 'groups:moderate']; privileges.privilegeList = privileges.userPrivilegeList.concat(privileges.groupPrivilegeList);