backend: tweak endpoint permissions

Changelog: Changed
This commit is contained in:
Atsuko Karagi 2022-10-22 17:19:36 +02:00 committed by Chloe Kudryavtsev
parent 5bf1e5ad71
commit b2c483faf5
2 changed files with 4 additions and 2 deletions

View file

@ -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',

View file

@ -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',