mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-31 05:24: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…
	
	Add table
		
		Reference in a new issue