Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conversion of custom ocs permissions to roles #4342

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

rhafer
Copy link
Contributor

@rhafer rhafer commented Nov 15, 2023

When creating shares with just view permission we wrongly converted that into the SpacerViewer sharing role. The correct role for that would be legacy.

Fixes: https://github.com/owncloud/enterprise/issues/6209

@rhafer rhafer requested review from micbar, kobergj and fschade November 15, 2023 14:39
@rhafer rhafer self-assigned this Nov 15, 2023
@rhafer rhafer requested review from a team, labkode and glpatcern as code owners November 15, 2023 14:39
Copy link
Contributor

@fschade fschade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎸

pkg/conversions/role.go Outdated Show resolved Hide resolved
When creating shares with just `view` permission we wrongly converted that
into the `SpacerViewer` sharing role. The correct role for that would be `legacy`.

Fixes: https://github.com/owncloud/enterprise/issues/6209
@rhafer rhafer merged commit 9fa275e into cs3org:edge Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants