mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed privileges
This commit is contained in:
@ -38,9 +38,7 @@ App.Presenters.TopNavigationPresenter = function(
|
||||
loggedIn: auth.isLoggedIn(),
|
||||
user: auth.getCurrentUser(),
|
||||
canListUsers: auth.hasPrivilege(auth.privileges.listUsers),
|
||||
canListPosts: auth.hasPrivilege(auth.privileges.listSafePosts) ||
|
||||
auth.hasPrivilege(auth.privileges.listSketchyPosts) ||
|
||||
auth.hasPrivilege(auth.privileges.listUnsafePosts),
|
||||
canListPosts: auth.hasPrivilege(auth.privileges.listPosts),
|
||||
canListTags: auth.hasPrivilege(auth.privileges.listTags),
|
||||
canUploadPosts: auth.hasPrivilege(auth.privileges.uploadPosts),
|
||||
}));
|
||||
|
Reference in New Issue
Block a user