forked from FoundKeyGang/FoundKey
backend: tweak endpoint permissions
Changelog: Changed
This commit is contained in:
parent
5bf1e5ad71
commit
b2c483faf5
2 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@ import { makePaginationQuery } from '../../common/make-pagination-query.js';
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ['federation'],
|
tags: ['federation'],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: true,
|
||||||
|
requireAdmin: true,
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
|
|
|
@ -5,7 +5,8 @@ import { makePaginationQuery } from '../../common/make-pagination-query.js';
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ['federation'],
|
tags: ['federation'],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: true,
|
||||||
|
requireAdmin: true,
|
||||||
|
|
||||||
res: {
|
res: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
|
|
Loading…
Reference in a new issue