Skip to content

Commit

Permalink
Update pkg/conversions/role.go
Browse files Browse the repository at this point in the history
Co-authored-by: kobergj <juliankoberg@googlemail.com>
  • Loading branch information
butonic and kobergj authored May 21, 2024
1 parent 916ef34 commit e9f231c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/conversions/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ func RoleFromResourcePermissions(rp *provider.ResourcePermissions, islink bool)
if r.ocsPermissions == PermissionCreate {
if rp.GetPath && rp.InitiateFileDownload && rp.ListContainer && rp.Move {
r.Name = RoleEditorLite
return r
}
r.Name = RoleUploader
return r
Expand Down

0 comments on commit e9f231c

Please sign in to comment.