mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed user banning privilege
This commit is contained in:
@ -19,7 +19,7 @@ App.Auth = function(_, jQuery, util, api, appState, promise) {
|
||||
changeAllPasswords: 'changeAllPasswords',
|
||||
deleteOwnAccount: 'deleteOwnAccount',
|
||||
deleteAllAccounts: 'deleteAllAccounts',
|
||||
ban: 'ban',
|
||||
banUsers: 'banUsers',
|
||||
|
||||
listPosts: 'listPosts',
|
||||
viewPosts: 'viewPosts',
|
||||
|
@ -23,7 +23,7 @@ App.Presenters.UserAccountSettingsPresenter = function(
|
||||
|
||||
privileges = {
|
||||
canBan:
|
||||
auth.hasPrivilege(auth.privileges.ban),
|
||||
auth.hasPrivilege(auth.privileges.banUsers),
|
||||
canChangeAccessRank:
|
||||
auth.hasPrivilege(auth.privileges.changeAccessRank),
|
||||
canChangeAvatarStyle:
|
||||
|
Reference in New Issue
Block a user