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

Implement the option to register users without automatic assignment of contributor role #11651

Closed
giohappy opened this issue Oct 30, 2023 · 1 comment · Fixed by #11695
Closed
Assignees
Milestone

Comments

@giohappy
Copy link
Contributor

At the moment new users are given the "contributor" role (Django admin group) by default.
We want to introduce the option to disable this automation.

The assignment of the contributor role is done here.

A new setting REGISTERED_USER_IS_CONTRIBUTOR, which will be True by default, will control if the assignment should be applied by default.
The settings can be controlled with an env var with the same name.

@giohappy giohappy changed the title Implement the option to register users without the contributor role Implement the option to register users without automatic assignment of contributor role Oct 30, 2023
@saxas13
Copy link

saxas13 commented Nov 1, 2023

oh I would love that option. Currently I remove this role from every user, which should only view and download data but shall not be able to create new ressources

@mattiagiupponi mattiagiupponi added this to the 4.2.0 milestone Nov 15, 2023
giohappy pushed a commit that referenced this issue Nov 15, 2023
…c assignment o… (#11695)

* Implement the option to register users without automatic assignment of contributor role #11651

* Fixes #11651: configuration rename

* Fixes #11651: configuration rename
github-actions bot pushed a commit that referenced this issue Nov 15, 2023
…c assignment o… (#11695)

* Implement the option to register users without automatic assignment of contributor role #11651

* Fixes #11651: configuration rename

* Fixes #11651: configuration rename

(cherry picked from commit 980e4d2)
giohappy pushed a commit that referenced this issue Nov 15, 2023
…c assignment o… (#11695) (#11696)

* Implement the option to register users without automatic assignment of contributor role #11651

* Fixes #11651: configuration rename

* Fixes #11651: configuration rename

(cherry picked from commit 980e4d2)

Co-authored-by: mattiagiupponi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants