mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-24 04:15:13 +00:00
fix: primitive 18: ap/get
bypasses access checks
One might argue that we could make this one actually preform access checks against the returned activity object, but I feel like that's a lot more work than just restricting it to administrators, since, to me at least, it seems more like a debugging tool than anything else.
This commit is contained in:
parent
c04f344049
commit
cbf8cc376e
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ import { ApResolverService } from '@/core/activitypub/ApResolverService.js';
|
|||
export const meta = {
|
||||
tags: ['federation'],
|
||||
|
||||
requireAdmin: true,
|
||||
requireCredential: true,
|
||||
kind: 'read:federation',
|
||||
|
||||
|
|
Loading…
Reference in a new issue