fix(backend): add missing kind definition for admin endpoints to improve security
This commit is contained in:
parent
776eea736a
commit
5150053275
77 changed files with 153 additions and 2 deletions
|
|
@ -16,6 +16,8 @@ export const meta = {
|
|||
requireCredential: true,
|
||||
requireAdmin: true,
|
||||
|
||||
kind: 'read:admin',
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
optional: false, nullable: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue