Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Feb 13, 2022
1 parent 031948e commit f17d53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocs/conversions/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func NewManagerRole() *Role {
}
}

// RoleFromOCSPermissions tries to map ocs permissions to a role
// RoleFromOCSPermissions tries to map ocs permissions to a role
func RoleFromOCSPermissions(p Permissions) *Role {
if p.Contain(PermissionRead) {
if p.Contain(PermissionWrite) && p.Contain(PermissionCreate) && p.Contain(PermissionDelete) {
Expand Down

0 comments on commit f17d53f

Please sign in to comment.