keystone.assignment.backends.sql.
Assignment
[source]¶Bases: keystone.assignment.backends.base.AssignmentDriverBase
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]¶delete_grant
(role_id, user_id=None, group_id=None, domain_id=None, project_id=None, inherited_to_projects=False)[source]¶list_grant_role_ids
(user_id=None, group_id=None, domain_id=None, project_id=None, inherited_to_projects=False)[source]¶keystone.assignment.backends.sql.
AssignmentType
[source]¶Bases: object
GROUP_DOMAIN
= 'GroupDomain'¶GROUP_PROJECT
= 'GroupProject'¶USER_DOMAIN
= 'UserDomain'¶USER_PROJECT
= 'UserProject'¶keystone.assignment.backends.sql.
RoleAssignment
(*args, **kwargs)[source]¶Bases: sqlalchemy.ext.declarative.api.Base
, keystone.common.sql.core.ModelDictMixin
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
¶keystone.assignment.backends.sql.
SystemRoleAssignment
(*args, **kwargs)[source]¶Bases: sqlalchemy.ext.declarative.api.Base
, keystone.common.sql.core.ModelDictMixin
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
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.