-
Notifications
You must be signed in to change notification settings - Fork 35
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
Proposition for group management #527
Comments
As I needed to have the admin group managed by another attribute from the claim, I added 2 options. So we have a total of 3 new options:
If IsAdmin and GroupAdmin are not set, admin group will not be managed (if Groups value include admin). I feel it gives a good number of ways to manage the groups and the admin group specifically.
If I git clone the app, do my modifications, what is the git command to make a proposal? |
+1 for group management. However, there's already an active and open PR that adds this: #502 . PR Workflow@quenenni What you're looking for is the git clone https://github.com/nextcloud/user_oidc.git ## Download your forked repo
# Run the patch command.
git commit -a ## Commit your changes
git push Now you can suggest a PR in this repository, and compare it with your fork. |
Thanks for the info. Unfortunately, I didn't notice it before starting my modifications. I'm going to wait for the #502 PR, it seems more robust and generic. Also, thanks for the tips for the PR. I guess we can close this ticket. |
Hello,
Here is a proposal to add group management.
I was able to make it works, but I couldn't add the option in the configuration form.
I guess it's because I have to recompile the app with compose and other stuffs, but as I did this on a test cloud on a production server, I did'nt want to install all the require dependances for this.
I simply added the option manually in the Db and all is good.
Could you please, when you have a bit of time, give a look at this and tell me if it looks right.
I know we'll need to wait before having this in the official code (if accepted of course), but I really need to have it working asap to put it in production.
We used the other Oidc plugin but had several security problems and decided to stop using it.
But the other plugin is managing groups and in order to switch, I need the group management also with this one.
I tested adding the user to a (new / existing) group, removing from a group, removing the group if group is empty after removing the user, and all is working well on my setup.
I could add an option to delete or not empty groups (once you removed the user from that group) if it's wanted.
Here is another way to show the differences if you prefer:
The text was updated successfully, but these errors were encountered: