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

Managing Scope with lots of Users and/or lots of Scopes is difficult #4

Open
tim-mccurrach opened this issue Jan 24, 2022 · 2 comments

Comments

@tim-mccurrach
Copy link

Issue

With a large number of users, there is currently no (built-in) way to automatically manage adding/removing/auditing scopes for a large set of users. Even with just 2 or 3 tokens it becomes a nuisance tbh.

Proposed Solution

It would be useful to have utils for adding and removing a specific scope for a group (that could be used in data-migrations), plus corresponding management commands.

Devil's advocate

Perhaps this is something that is simple enough that we can expect end-users to implement it themselves. I think it would be useful though.

@hugorodgerbrown
Copy link
Collaborator

If managing scopes is an issue, we should probably make it a model, and M2M it into the tokens - then we'd have more scope to e.g. add to a Group / User.

@tim-mccurrach
Copy link
Author

Yes, I was actually thinking the same thing. A utility would just require less change, but I agree - it seems like a good case for making scope a model.

Do you want me to make that change? or shall I put off doing so until such a time as it becomes more of a need.

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

No branches or pull requests

2 participants