Bases: keystone.assignment.core.Driver
Called when the group was deleted.
Any role assignments for the group should be cleaned up.
Bases: object
Role Grant model.
Bases: keystone.common.ldap.core.ProjectLdapStructureMixin, keystone.common.ldap.core.EnabledEmuMixIn, keystone.common.ldap.core.BaseLdap
alias of Project
Bases: keystone.assignment.role_backends.ldap.RoleLdapStructureMixin, keystone.common.ldap.core.BaseLdap
Bases: keystone.assignment.core.Driver
Bases: object
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase
Override parent to_dict() method with a simpler implementation.
RoleAssignment doesn’t have non-indexed ‘extra’ attributes, so the parent implementation is not applicable.
Return a constant False_ construct.
E.g.:
>>> from sqlalchemy import false
>>> print select([t.c.x]).where(false())
SELECT x FROM t WHERE false
A backend which does not support true/false constants will render as an expression against 1 or 0:
>>> print select([t.c.x]).where(false())
SELECT x FROM t WHERE 0 = 1
The true() and false() constants also feature “short circuit” operation within an and_() or or_() conjunction:
>>> print select([t.c.x]).where(or_(t.c.x > 5, true()))
SELECT x FROM t WHERE true
>>> print select([t.c.x]).where(and_(t.c.x > 5, false()))
SELECT x FROM t WHERE false
Changed in version 0.9: true() and false() feature better integrated behavior within conjunctions and on dialects that don’t support true/false constants.
See also