Include local users in UserListAPIView return data? #1507
Labels
app: projectroles
Issue in the projectroles app
breaking
Breaking change, to be implemented and documented with care
feature
Requested feature or enhancement
tbd
Comments wanted, spec/schedule/prioritization to be decided, etc.
Currently, the user list REST API view omits users in
SYSTEM_USER_GROUP
unless requested by a superuser.This kind of makes sense if not allowing local users, as in this case the group only contains e.g. script users which should not be interesting to most users.
However, local users also get added to the group. This means that on a server using local users instead of external auth, regular users might end up seeing an empty user list. That is not intentional.
TBD: The proper way to handle this? Options include, in the ascending order of effort required:
PROJECTROLES_ALLOW_LOCAL_USERS==True
Right now I'm thinking of going with option 1, but I'll think about it. This will require bumping up the projectroles API version to v2.0 and introducing backwards compatibility, of course.
Comments are welcome.
The text was updated successfully, but these errors were encountered: