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

[full-ci] Rename roles permissions #8876

Merged
merged 66 commits into from
Apr 26, 2023
Merged

[full-ci] Rename roles permissions #8876

merged 66 commits into from
Apr 26, 2023

Conversation

hurradieweltgehtunter
Copy link
Contributor

@hurradieweltgehtunter hurradieweltgehtunter commented Apr 20, 2023

Description

Change share role and permission names.

Related Issue

Motivation and Context

Inspired by german gender-neutral terms, we also change the english terms.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

Open tasks:

  • ...

@update-docs
Copy link

update-docs bot commented Apr 20, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ownclouders
Copy link
Contributor

ownclouders commented Apr 20, 2023

Results for acceptance oC10 https://drone.owncloud.com/owncloud/web/35209/37/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUISharingPublicBasic-publicLinkCreate_feature-L11.png

webUISharingPublicBasic-publicLinkCreate_feature-L11.png

webUISharingPublicBasic-publicLinkCreate_feature-L117.png

webUISharingPublicBasic-publicLinkCreate_feature-L117.png

webUISharingPublicBasic-publicLinkCreate_feature-L135.png

webUISharingPublicBasic-publicLinkCreate_feature-L135.png

webUISharingPublicBasic-publicLinkCreate_feature-L28.png

webUISharingPublicBasic-publicLinkCreate_feature-L28.png

webUISharingPublicBasic-publicLinkCreate_feature-L99.png

webUISharingPublicBasic-publicLinkCreate_feature-L99.png

@ownclouders
Copy link
Contributor

ownclouders commented Apr 20, 2023

Results for acceptance oCIS https://drone.owncloud.com/owncloud/web/35209/67/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L33.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L33.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L34.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L34.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L35.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L35.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L54.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L54.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L55.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L55.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L56.png

webUISharingPublicDifferentRoles-shareByPublicLinkDifferentRoles_feature-L56.png

@hurradieweltgehtunter
Copy link
Contributor Author

needs some help with e2e and acceptance tests

@hurradieweltgehtunter
Copy link
Contributor Author

done from my side. @JammingBen or @janackermann could you please help out with the acceptance tests?

@hurradieweltgehtunter hurradieweltgehtunter added Status:Needs-Review Needs review from a maintainer and removed Status:In-Progress labels Apr 21, 2023
@JammingBen JammingBen changed the title Rename roles permissions [full-ci] Rename roles permissions Apr 24, 2023
@JammingBen JammingBen requested a review from tbsbdr April 24, 2023 11:23
Copy link
Contributor

@tbsbdr tbsbdr left a comment

Choose a reason for hiding this comment

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

For the links I propose to change it to this wordings.

  • With the rewording from Recipients ... to Anyone ... I want to make clear, that solely the ownership of the link entitles you to access files - inspired by onedrive and box.com . Should add to a well informed use of public link and thus increase security / DLP
  • With the rewording from uploader to the "Secret File Drop" I want to highlight it as a feature as nextcloud is doing it very well

Notes

234103926-b6900b0e-151b-4be8-a1c8-ad1d4c9390d3

Rename Link sharing roles

  • Internal -> Only for invited people (Menu closed)

  • Internal -> Invited people, Link works only for invited people. Login is required.

  • Viewer -> Anyone with the link can view (Menu closed)

  • Viewer -> Can view, Anyone with the link can view and download.

  • Contributor -> Anyone with the link can upload (Menu closed)

  • Contributor -> Can upload, Anyone with the link can view, download and upload.

  • Editor -> Anyone with the link can edit (Menu closed)

  • Editor -> Can edit, Anyone with the link can view, download, edit, delete and upload.

  • Uploader -> Secret File Drop (Menu closed, icon: inbox-unarchive-fill)

  • Uploader -> Secret File Drop, Anyone with the link can upload. Existing content is not revealed.

tbsbdr
tbsbdr previously requested changes Apr 25, 2023
packages/web-client/src/helpers/share/role.ts Outdated Show resolved Hide resolved
@@ -7,7 +7,13 @@
class="edit-public-link-role-dropdown-toggle oc-text-left"
gap-size="none"
>
<span class="link-current-role" v-text="$gettext(currentLinkRoleLabel)" />
<!-- <span class="link-current-role" v-if="currentLinkRole.name === 'internal'" v-text="$gettext(currentLinkRole.label)"></span>
Copy link
Member

Choose a reason for hiding this comment

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

Please delete the commented out lines

@kulmann
Copy link
Member

kulmann commented Apr 26, 2023

Please rebase the PR. e2e test failure has been fixed on master.

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

hooray 🥳

@kulmann kulmann dismissed tbsbdr’s stale review April 26, 2023 13:44

all change requests done

@hurradieweltgehtunter
Copy link
Contributor Author

grafik

@sonarcloud
Copy link

sonarcloud bot commented Apr 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

63.6% 63.6% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:Needs-Review Needs review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[share-dialog-redesign] III: Rename permissions [share-dialog-redesign] I: Section "Share with people"
6 participants