Uh oh!
There was an error while loading. Please reload this page.
Toggle profile globally - #29372
Conversation
Am I right, that this toggles globally, if profile pages are enabled or disabled and if they are disabled they can not be enabled by the individual user? If this is the case, there is need for another issue: I'd like to have public profiles "opt-in" as the default setting. |
Pytal
commented
Dec 9, 2021
@jolly-jump in the current state of this PR, setting the option to disabled would disable profile completely and users would not be able to enable their own profile individually. You've made a good suggestion so we will also add an admin option to set profile to enabled/disabled by default for all users and allow individual users to opt-in or opt-out. |
99f8fe7 to
13d2cb1Compareshieldwed
commented
Dec 15, 2021
For those searching for a quick fix to disable all users profiles for now: update oc_accounts set data = JSON_SET(data, '$.profile_enabled', JSON_QUERY('{"value": "0", "scope": "v2-local", "verified": "0"}', '$')); |
2bfe1c9 to
a0d0460Comparekroerig
commented
Jan 28, 2022
Any idea when the feature will be ready to use? We use NC at our school und students must not be able to enable a public profile. I applied the workaround from @shieldwed , but this only applies to existing users. |
73cf679 to
1383b60Compare| return filter_var( | ||
| $account->getProperty(IAccountManager::PROPERTY_PROFILE_ENABLED)->getValue(), | ||
| $config->getAppValue('settings', 'profile_enabled_by_default', '1'), |
There was a problem hiding this comment.
maybe we should document this somewhere?
There was a problem hiding this comment.
And maybe it should be disabled by default?
There was a problem hiding this comment.
maybe we should document this somewhere?
Created a separate issue nextcloud/documentation#8122
There was a problem hiding this comment.
Just for the record from what we talked about in the chat:
- We are keeping Profile enabled by default
- Admins can easily disable it with this setting by default, with users still being able to override it
- New profile fields which are sensitive were a) introduced recently together with the visibility settings and b) not public by default, so if people don't want them to be visible, they didnt set them
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
83dc6c4 to
08ce416Compareszaimen
commented
Mar 17, 2022
@Pytal can you please rebase? Then lets merge this, I'd say |
08ce416 to
99bc520Comparesry Chris but tests are still failing :/ |
99bc520 to
62066d2ComparePytal
commented
Mar 17, 2022
Looks unrelated but will rerun for safety |
62066d2 to
7fe627eCompareSigned-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
7fe627e to
108abd7ComparePytal
commented
Mar 18, 2022
🟢 |
Pytal
commented
Mar 18, 2022
/backport to stable23 |
|
Adds two new settings:
config.phpoption'profile.enabled'which defaults to true to enable/disable profile globallyClose#30866
Contributes to #28139