mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed tag presenter not checking delete privilege
This commit is contained in:
@ -36,6 +36,7 @@ App.Presenters.TagPresenter = function(
|
||||
privileges.canChangeSuggestions = auth.hasPrivilege(auth.privileges.changeTagSuggestions);
|
||||
privileges.canBan = auth.hasPrivilege(auth.privileges.banTags);
|
||||
privileges.canViewHistory = auth.hasPrivilege(auth.privileges.viewHistory);
|
||||
privileges.canDelete = auth.hasPrivilege(auth.privileges.deleteTags);
|
||||
|
||||
promise.wait(
|
||||
util.promiseTemplate('tag'),
|
||||
|
Reference in New Issue
Block a user