Skip to content

Commit

Permalink
the uploader role is actually VERY similar to editor
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic authored and rhafer committed May 16, 2024
1 parent cf1275d commit c451d8e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pkg/conversions/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,13 @@ func NewUploaderRole() *Role {
return &Role{
Name: RoleUploader,
cS3ResourcePermissions: &provider.ResourcePermissions{
Stat: true,
GetPath: true,
CreateContainer: true,
InitiateFileUpload: true,
ListContainer: true,
Stat: true,
GetPath: true,
CreateContainer: true,
InitiateFileUpload: true,
InitiateFileDownload: true,
ListContainer: true,
Move: true,
},
ocsPermissions: PermissionCreate,
}
Expand Down

0 comments on commit c451d8e

Please sign in to comment.