[ui] Group users edit (#13362)
* [UI] group user controls * Add documentation on user configuration via admin center
No files matched your search
|
After Width: | Height: | Size: 193 KiB |
|
After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 249 KiB |
|
After Width: | Height: | Size: 228 KiB |
|
After Width: | Height: | Size: 208 KiB |
|
After Width: | Height: | Size: 243 KiB |
|
After Width: | Height: | Size: 322 KiB |
@@ -26,7 +26,7 @@ InvenTree provides multiple administration interfaces with different safety leve
|
||||
|
||||
The Admin Center is the main interface for managing InvenTree. It provides a user-friendly interface for managing all aspects of the system, including:
|
||||
|
||||
- Users / Groups
|
||||
- [Users / Groups](./permissions.md#managing-users-and-groups)
|
||||
- Data import / export
|
||||
- Customisation (e.g. project codes, custom states, parameters and units)
|
||||
- Operational controls (e.g. background tasks, errors, currencies, identity federation controls)
|
||||
|
||||
@@ -53,6 +53,70 @@ It is strongly recommended to register any users with staff / superuser flags wi
|
||||
|
||||
Practicing account tiering is strongly recommended.
|
||||
|
||||
## Managing Users and Groups
|
||||
|
||||
Users and groups are managed from the *Users / Access* panel of the [Admin Center](./admin.md#admin-center).
|
||||
|
||||
!!! info "Required Permissions"
|
||||
Creating and editing users and groups requires the *staff* flag **and** the relevant permissions for the *Admin* role. Users without these permissions can view the users and groups, but cannot make any changes.
|
||||
|
||||
### Users
|
||||
|
||||
The *Users* table lists all user accounts, along with the number of groups each user belongs to and their *Administrator*, *Superuser* and *Active* flags. Use the {{ icon("plus", color="green") }} button to create a new user.
|
||||
|
||||
{{ image("settings/admin_users_table.png", "Users table") }}
|
||||
|
||||
Click on a user to open the *Edit User* drawer.
|
||||
|
||||
#### User Details
|
||||
|
||||
The *User Details* section allows the user's name and account flags to be edited.
|
||||
|
||||
{{ image("settings/admin_edit_user.png", "Edit user details") }}
|
||||
|
||||
!!! tip "Deactivate Users"
|
||||
Rather than deleting a user account, consider unchecking the *Is Active* flag. This prevents the user from logging in, while retaining the history of their actions.
|
||||
|
||||
#### User Groups
|
||||
|
||||
The *User Groups* section shows which groups the user belongs to. Move groups between the *Available* and *Selected* lists, then press *Save* to update the user's group memberships.
|
||||
|
||||
{{ image("settings/admin_user_groups.png", "Edit user groups") }}
|
||||
|
||||
### Groups
|
||||
|
||||
The *Groups* table lists all user groups. Use the {{ icon("plus", color="green") }} button to create a new group.
|
||||
|
||||
{{ image("settings/admin_groups_table.png", "Groups table") }}
|
||||
|
||||
Click on a group to open the *Edit Group* drawer.
|
||||
|
||||
#### Group Details
|
||||
|
||||
The *Group Details* section allows the name of the group to be changed.
|
||||
|
||||
{{ image("settings/admin_edit_group.png", "Edit group details") }}
|
||||
|
||||
#### Group Roles
|
||||
|
||||
The *Group Roles* section sets the [role permissions](#role-permissions) for every user in the group. Check the required *View*, *Change*, *Add* and *Delete* permissions for each role, then press *Save*.
|
||||
|
||||
{{ image("settings/admin_group_roles.png", "Edit group roles") }}
|
||||
|
||||
#### Group Users
|
||||
|
||||
The *Group Users* section lists the users who belong to the group. From here, users can be quickly added to or removed from the group:
|
||||
|
||||
- **Add a user** - search for the user in the *Add User* field and select them. The user is added to the group immediately.
|
||||
- **Remove a user** - press the {{ icon("user-minus", color="red") }} button next to the user.
|
||||
|
||||
These changes only affect membership of this group - the user's other group memberships are not changed.
|
||||
|
||||
{{ image("settings/admin_group_users.png", "Edit group users") }}
|
||||
|
||||
!!! info "Permissions"
|
||||
Adding or removing users from a group edits the *user* account, so it requires *change* permission for users (as well as the *staff* flag). If you do not have this permission, the list of users is displayed in read-only mode.
|
||||
|
||||
|
||||
## Database Admin Permissions
|
||||
|
||||
|
||||