magpie.api.management.user.user_views¶
User Views, both for specific user-name provided as request path variable and special keyword for logged session user.
Attributes¶
Functions¶
|
List all registered user names or details. |
|
Create a new user. |
|
Update user information by user name. |
|
Get user information by name. |
|
Delete a user by name. |
|
List all groups a user belongs to. |
|
Assign a user to a group. |
|
Removes a user from a group. |
|
List all resources a user has permissions on. |
|
List all permissions a user has on a specific resource. |
Create a permission on specific resource for a user. |
|
Create or modify an existing permission on a resource for a user. |
|
Delete a permission from a specific resource for a user (not including his groups permissions). |
|
Delete a permission by name from a resource for a user (not including his groups permissions). |
|
|
List all services a user has permissions on. |
|
List all permissions a user has on a service. |
|
Create a permission on a service for a user. |
Create or modify an existing permission on a service for a user. |
|
|
Delete a permission from a service for a user (not including his groups permissions). |
Delete a permission by name from a service for a user (not including his groups permissions). |
|
|
List all resources under a service a user has permission on. |
Module Contents¶
- magpie.api.management.user.user_views.get_users_view(request)[source]¶
List all registered user names or details.
- magpie.api.management.user.user_views.update_user_view(request)[source]¶
Update user information by user name.
- magpie.api.management.user.user_views.get_user_groups_view(request)[source]¶
List all groups a user belongs to.
Groups can be filtered by status depending of input arguments.
- magpie.api.management.user.user_views.assign_user_group_view(request)[source]¶
Assign a user to a group.
- magpie.api.management.user.user_views.delete_user_group_view(request)[source]¶
Removes a user from a group.
- magpie.api.management.user.user_views.get_user_resources_view(request)[source]¶
List all resources a user has permissions on.
- magpie.api.management.user.user_views.get_user_resource_permissions_view(request)[source]¶
List all permissions a user has on a specific resource.
- magpie.api.management.user.user_views.create_user_resource_permissions_view(request)[source]¶
Create a permission on specific resource for a user.
- magpie.api.management.user.user_views.replace_user_resource_permissions_view(request)[source]¶
Create or modify an existing permission on a resource for a user.
Can be used to adjust permission modifiers.
- magpie.api.management.user.user_views.delete_user_resource_permissions_view(request)[source]¶
Delete a permission from a specific resource for a user (not including his groups permissions).
- magpie.api.management.user.user_views.delete_user_resource_permission_name_view(request)[source]¶
Delete a permission by name from a resource for a user (not including his groups permissions).
- magpie.api.management.user.user_views.get_user_services_view(request)[source]¶
List all services a user has permissions on.
- magpie.api.management.user.user_views.get_user_service_permissions_view(request)[source]¶
List all permissions a user has on a service.
- magpie.api.management.user.user_views.create_user_service_permissions_view(request)[source]¶
Create a permission on a service for a user.
- magpie.api.management.user.user_views.replace_user_service_permissions_view(request)[source]¶
Create or modify an existing permission on a service for a user.
Can be used to adjust permission modifiers.
- magpie.api.management.user.user_views.delete_user_service_permissions_view(request)[source]¶
Delete a permission from a service for a user (not including his groups permissions).