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

Can the option is_staff be explained what it does when creating an user ? #5866

Open
simenon opened this issue Oct 4, 2024 · 2 comments
Open
Labels

Comments

@simenon
Copy link
Contributor

simenon commented Oct 4, 2024

It is unclear to me what the option is_staff implies when creating an user.

The API at https://pulpproject.org/pulpcore/restapi/#tag/Users/operation/users_create says

is_staff | boolean Default: false Designates whether the user can log into this admin site.

It is unclear to me what is mentioned with this admin site, and it is also unclear what functionality the user would gain with this setting.

Can the user manual be expanded with a page that describes the users and groups concept within pulp ? I can't see any page on it except a description in the developer manual https://pulpproject.org/pulpcore/docs/dev/learn/rbac/users_groups/?h=users

@mdellweg
Copy link
Member

mdellweg commented Oct 7, 2024

This is a Django concept. Pulp does not expose the admin site.
Maybe we should remove this attribute.

@lubosmj
Copy link
Member

lubosmj commented Oct 8, 2024

As mentioned earlier, this is a django concept. You can learn about the differences here: pulp/pulp_container#1783 (comment).

We decided to remove the field from the serializer.

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

No branches or pull requests

3 participants