fix(backend): add missing kind definition for admin endpoints to improve security
This commit is contained in:
@@ -14,6 +14,8 @@ import { ApiError } from '../../../error.js';
|
||||
export const meta = {
|
||||
tags: ['admin'],
|
||||
|
||||
kind: 'write:admin',
|
||||
|
||||
requireCredential: true,
|
||||
requireRolePolicy: 'canManageCustomEmojis',
|
||||
|
||||
|
Reference in New Issue
Block a user