keystone.assignment.V8_backends package

Submodules

keystone.assignment.V8_backends.sql module

class keystone.assignment.V8_backends.sql.Assignment[source]

Bases: keystone.assignment.core.AssignmentDriverV8

add_role_to_user_and_project(user_id, tenant_id, role_id)[source]
check_grant_role_id(role_id, user_id=None, group_id=None, domain_id=None, project_id=None, inherited_to_projects=False)[source]
create_grant(role_id, user_id=None, group_id=None, domain_id=None, project_id=None, inherited_to_projects=False)[source]
default_resource_driver()[source]
default_role_driver()[source]
delete_grant(role_id, user_id=None, group_id=None, domain_id=None, project_id=None, inherited_to_projects=False)[source]
delete_group_assignments(group_id)[source]
delete_project_assignments(project_id)[source]
delete_role_assignments(role_id)[source]
delete_user_assignments(user_id)[source]
list_domain_ids_for_groups(group_ids, inherited=False)[source]
list_domain_ids_for_user(user_id, group_ids, hints, inherited=False)[source]
list_grant_role_ids(user_id=None, group_id=None, domain_id=None, project_id=None, inherited_to_projects=False)[source]
list_project_ids_for_groups(group_ids, hints, inherited=False)[source]
list_project_ids_for_user(user_id, group_ids, hints, inherited=False)[source]
list_role_assignments(role_id=None, user_id=None, group_ids=None, domain_id=None, project_ids=None, inherited_to_projects=None)[source]
list_role_ids_for_groups_on_domain(group_ids, domain_id)[source]
list_role_ids_for_groups_on_project(group_ids, project_id, project_domain_id, project_parents)[source]
list_user_ids_for_project(tenant_id)[source]
remove_role_from_user_and_project(user_id, tenant_id, role_id)[source]
class keystone.assignment.V8_backends.sql.AssignmentType[source]

Bases: object

GROUP_DOMAIN = 'GroupDomain'
GROUP_PROJECT = 'GroupProject'
USER_DOMAIN = 'UserDomain'
USER_PROJECT = 'UserProject'
classmethod calculate_type(user_id, group_id, project_id, domain_id)[source]
class keystone.assignment.V8_backends.sql.RoleAssignment(*args, **kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase

actor_id
attributes = ['type', 'actor_id', 'target_id', 'role_id', 'inherited']
inherited
role_id
target_id
to_dict()[source]

Override parent method with a simpler implementation.

RoleAssignment doesn’t have non-indexed ‘extra’ attributes, so the parent implementation is not applicable.

type

Module contents

Table Of Contents

Previous topic

keystone.assignment package

Next topic

keystone.assignment.V8_role_backends package

Project Source

This Page