schemas/base.py
changeset 2297 4cf57dd80650
parent 2140 1cba3393ba01
child 2434 ed85d69576b4
child 2438 576f4d51f826
equal deleted inserted replaced
2296:f1b74a34da40 2297:4cf57dd80650
     7 """
     7 """
     8 __docformat__ = "restructuredtext en"
     8 __docformat__ = "restructuredtext en"
     9 _ = unicode
     9 _ = unicode
    10 
    10 
    11 from yams.buildobjs import (EntityType, RelationType, SubjectRelation,
    11 from yams.buildobjs import (EntityType, RelationType, SubjectRelation,
    12                             String, Boolean, Datetime)
    12                             String, Boolean, Datetime, Password)
    13 from cubicweb.schema import RQLConstraint
    13 from cubicweb.schema import (RQLConstraint, WorkflowableEntityType,
       
    14                              ERQLExpression, RRQLExpression)
    14 from cubicweb.schemas import META_ETYPE_PERMS, META_RTYPE_PERMS
    15 from cubicweb.schemas import META_ETYPE_PERMS, META_RTYPE_PERMS
    15 
    16 
    16 class CWUser(WorkflowableEntityType):
    17 class CWUser(WorkflowableEntityType):
    17     """define a CubicWeb user"""
    18     """define a CubicWeb user"""
    18     permissions = {
    19     permissions = {