Skip to content

Add setting to prevent disabling profile data sync #5648

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

Merged
merged 8 commits into from
Feb 16, 2023

Conversation

duartegalvao
Copy link
Member

@duartegalvao duartegalvao commented Feb 2, 2023

This PR adds a setting to indico.conf to prevent non-admin users of turning off their profile's personal data synchronization.
Fields listed in the locked_fields setting can only be de-synced by an administrator.
image

Α custom locked_field_message may also be set to help guide users:
image

@duartegalvao duartegalvao force-pushed the lock-synced-fields branch 2 times, most recently from 94e9535 to 3e52923 Compare February 7, 2023 08:24
@ThiefMaster
Copy link
Member

Could we add some tooltip when a field is locked? Maybe even a custom message that can be set in the config (locked_field_message) in order to tell the user why it's locked ("please update your account data at xyz")

Email sync is weird anyway and we'd have to disable most of the email UI
as well there
@ThiefMaster ThiefMaster merged commit 4dc15bf into indico:master Feb 16, 2023
@ThiefMaster ThiefMaster deleted the lock-synced-fields branch February 16, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 🚀
Development

Successfully merging this pull request may close these issues.

2 participants