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(settings): Clarify peculiarities of enabling encryption #50424

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jan 25, 2025

Summary

  • Clarify that enabling server side encryption will not encrypt existing files but only new or changed files.
  • Clarify that server side encryption can only be disabled using OCC
  • Ensure there is accessible information of encryption state (disabled input will not be announced so make it aria-disabled instead)
  • Make warning more prominent by moving it into a dialog

Screenshots

before after
Screenshot 2025-01-25 at 14-09-52 Security - Administration settings - Nextcloud Screenshot 2025-01-25 at 14-10-35 Security - Administration settings - Nextcloud
Screenshot 2025-01-25 at 14-11-53 Security - Administration settings - Nextcloud Screenshot 2025-01-25 at 14-11-32 Security - Administration settings - Nextcloud

Checklist

@susnux susnux added design Design, UI, UX, etc. 3. to review Waiting for reviews feature: encryption (server-side) labels Jan 25, 2025
@susnux susnux added this to the Nextcloud 32 milestone Jan 25, 2025
@susnux susnux requested review from artonge, nfebe, Pytal and szaimen January 25, 2025 13:15
@susnux susnux added the bug label Jan 25, 2025
@susnux
Copy link
Contributor Author

susnux commented Jan 25, 2025

/backport to stable31

@joshtrichards
Copy link
Member

Related:

#40468
#48829
#49200

type="switch"
@update:checked="displayWarning">
{{ t('settings', 'Enable server-side encryption') }}
</NcCheckboxRadioSwitch>
<p v-if="encryptionEnabled" id="server-side-encryption-disable-hint" class="disable-hint">
{{ t('settings', 'Disabling server side encryption is only possible using OCC, please refer to the documentation.') }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have a link to the documentation?

- Clarify that enabling server side encryption will not encrypt
  existing files but only new or changed files.
- Clarify that server side encryption can only be disabled using OCC
- Ensure there is accessible information of encryption state (`disabled`
  input will not be announced so make it `aria-disabled` instead)
- Make warning more prominent by moving it into a dialog

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/encryption-text branch from c60013b to 94e1323 Compare January 27, 2025 14:12
@susnux
Copy link
Contributor Author

susnux commented Jan 27, 2025

/compile

@susnux susnux enabled auto-merge January 27, 2025 14:13
Signed-off-by: nextcloud-command <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

enh(Settings): Provide visual feedback to user when encryption app not installed.
4 participants