Skip to content
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

You have to know a user's password to add them to a group #45

Open
takkaria opened this issue Jul 26, 2018 · 2 comments
Open

You have to know a user's password to add them to a group #45

takkaria opened this issue Jul 26, 2018 · 2 comments

Comments

@takkaria
Copy link
Collaborator

takkaria commented Jul 26, 2018

This has been unhelpful in setting up groups for Nobel Grid - I wanted to set up groups for the different sites we have installations at and I can't add the right users to them.

@cagabi
Copy link
Collaborator

cagabi commented Jul 27, 2018

I see your point from the perspective of us being the only ones managing the whole emoncms installation. But on the other hand it makes sense that you cannot add users to a group (and have access to their accounts) without some kind of consent.
Without requiring a password a user from Lancaster could (knowing any username) create a group, add the users and access their accounts

@takkaria
Copy link
Collaborator Author

I understand your point. I wonder if there is a way we can set things up so both situations can be accomodated?

I think the security model at the moment is the thing that holds this back - it seems to me that being able to create groups or log in as other users should have some kind of permission control that isn't about knowing other people's passwords or usernames. I'm imagining some kind of least privilege-style capabilities system like e.g. WordPress/Civi/AWS use, so that you can only do these things if you are explicitly granted the ability to do them. Then you'd have a capability like 'Can add members to groups (passwordless)' as well as perhaps 'Can add members to groups (with password)'. I guess that's what I was wondering about in #46 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants