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
2 people authored and rhafer committed May 21, 2024
1 parent 8bc8514 commit 99b0fd0
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 99b0fd0

Please sign in to comment.