mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
fix(public/notes-controller): bind setUserPermission to an URL
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
3884d79474
commit
068517a73b
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ export class NotesController {
|
||||||
@UseInterceptors(GetNoteInterceptor)
|
@UseInterceptors(GetNoteInterceptor)
|
||||||
@Permissions(Permission.OWNER)
|
@Permissions(Permission.OWNER)
|
||||||
@UseGuards(TokenAuthGuard, PermissionsGuard)
|
@UseGuards(TokenAuthGuard, PermissionsGuard)
|
||||||
|
@Put(':noteIdOrAlias/metadata/permissions/users/:userName')
|
||||||
@OpenApi(
|
@OpenApi(
|
||||||
{
|
{
|
||||||
code: 200,
|
code: 200,
|
||||||
|
|
Loading…
Reference in a new issue