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