-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Allow to tweak default scopes for accounts #31623
Conversation
55dcbcf
to
d9c879a
Compare
I like this PR 👍 |
/backport to stable24 |
/backport to stable23 |
@tcitworld can you please resolve the conflicts? Thank you :) |
d9c879a
to
256237c
Compare
Done |
Thanks! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, otherwise this looks good to me 👍
Could we prevent erroneously allowing displayname and email to be set to private in the logic? Unsupported as per server/lib/private/Accounts/AccountManager.php Lines 218 to 228 in 778db45
In these cases we should default to local scope |
@tcitworld can you add before/after screenshots for easier design review? Thanks! :) |
Close #6582 Signed-off-by: Thomas Citharel <[email protected]>
fa68b55
to
4d26a9a
Compare
Done!
I really can't ! 😅 |
Failures are unrelated. |
Should we add some documentation on this with a complete example? |
Yup, needs an entry in https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html I would suggest a new section with |
There is also this: https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/profile_configuration.html |
Yes, more appropriate. But still needs a quick mention just before https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#app-config-options |
If I understood this section in the settings documentation correctly, it is actually auto-generated. So I think we should not need to edit this section manually? Maybe @artonge knows? |
But of course the profile_configuration section should then be edited and include this setting, I suppose :) |
Oh right, I missed that ! |
@tcitworld can you open a PR with some documentation on this over at https://github.com/nextcloud/documentation/edit/master/admin_manual/configuration_user/profile_configuration.rst or shall I try to add some documentation on this? :) |
Done in nextcloud/documentation#8320 |
Thank you! 🚀 |
Closes #6582, Closes #14358, Closes #14959
Replaces #20667