forked from SteamWar/SteamWar
Fix Permissions
This commit is contained in:
@@ -73,7 +73,7 @@ fun Route.configureDataRoutes() {
|
||||
route("/admin") {
|
||||
install(SWPermissionCheck) {
|
||||
mustAuth = true
|
||||
permission = UserPerm.PREFIX_MODERATOR
|
||||
permission = UserPerm.MODERATION
|
||||
}
|
||||
get("/users") {
|
||||
call.respond(SteamwarUser.getAll().map { ResponseUser(it) })
|
||||
|
||||
Reference in New Issue
Block a user