@@ -64,7 +64,11 @@ export const badgesPlugin = createBackendPlugin({
|
||||
}),
|
||||
);
|
||||
httpRouter.addAuthPolicy({
|
||||
path: '/',
|
||||
path: '/entity/:entityUuid/:badgeId',
|
||||
allow: 'unauthenticated',
|
||||
});
|
||||
httpRouter.addAuthPolicy({
|
||||
path: '/entity/:namespace/:kind/:name/badge/:badgeId',
|
||||
allow: 'unauthenticated',
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user