-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add config flag to keep empty groups #911
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Marco Jarjour <77099126+marcojarjour@users.noreply.github.com>
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.
Hey @marcojarjour,
thank you for this contribution!
Generally this is an improvement we surely can have.
I'd like to ask you to switch the config away from config.php and turn it into an app-config via $this->config->getAppValue()
.
One word on whether to have this setting IdP-dependent or as a general flag, like you implemented it. The first one allows more fine-grained control, but I am doubtful this is necessary. So going with the global approach is fine.
You may consider adding a global configuration knob for this as well, but it would regard it optional for acceptance. It's ok to have it as a hidden flag in the beginning.
In the ideal case, equip this with an integration test. While preferred, I would take it also without one since the change is simple and not dangerous. It's just that code may change over time and having one makes it more robust.
P.S.: and please sign your commit to let the DCO test pass, cf. https://github.com/nextcloud/user_saml/pull/911/checks?check_run_id=33591334717 |
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Ref: #833