diff -r 3a6f28a1ea21 -r 59b6542f5729 schemas/base.py --- a/schemas/base.py Mon Feb 16 14:08:16 2009 +0100 +++ b/schemas/base.py Mon Feb 16 14:18:13 2009 +0100 @@ -9,8 +9,9 @@ from cubicweb.schema import format_constraint -class EUser(RestrictedEntityType): +class EUser(WorkflowableEntityType): """define a CubicWeb user""" + meta = True # XXX backported from old times, shouldn't be there anymore permissions = { 'read': ('managers', 'users', ERQLExpression('X identity U')), 'add': ('managers',), @@ -33,11 +34,6 @@ in_group = SubjectRelation('EGroup', cardinality='+*', constraints=[RQLConstraint('NOT O name "owners"')], description=_('groups grant permissions to the user')) - in_state = SubjectRelation('State', cardinality='1*', - # XXX automatize this - constraints=[RQLConstraint('S is ET, O state_of ET')], - description=_('account state')) - wf_info_for = ObjectRelation('TrInfo', cardinality='1*', composite='object') class EmailAddress(MetaEntityType):