apigee.userroles package
Submodules
apigee.userroles.commands module
apigee.userroles.userroles module
- class apigee.userroles.userroles.Userroles(auth, org_name, role_name)
Bases:
object
- add_a_user_to_a_role(user_email)
- add_permissions_for_a_resource_to_a_user_role(request_body)
- add_permissions_for_multiple_resources_to_a_user_role(request_body)
- add_permissions_for_multiple_resources_to_user_role(endpoint_template, request_body)
- create_a_user_role_in_an_organization(roles)
- create_user_role_in_organization(uri, headers, request_body)
- delete_a_permission_for_a_resource(permission, resource_path)
- delete_a_user_role()
- delete_resource_from_permissions(resource_path)
- get_a_role()
- get_resource_permissions_for_a_specific_role(resource_path='')
- get_users_for_a_role()
- list_permissions_for_a_resource()
- list_user_roles()
- remove_user_membership_from_role(content_type, uri)
- remove_user_membership_in_role(user_email)
- static sort_resource_permissions(resource_permissions)
- verify_a_user_roles_permission_on_a_specific_RBAC_resource(permission, resource_path)
- verify_and_fetch_user_role_membership(content_type, uri)
- verify_user_role_membership(user_email)