equal
deleted
inserted
replaced
25 CWUser = repo.vreg['etypes'].etype_class('CWUser') |
25 CWUser = repo.vreg['etypes'].etype_class('CWUser') |
26 clone = CWUser( |
26 clone = CWUser( |
27 None, |
27 None, |
28 rset=user.cw_rset.copy(), |
28 rset=user.cw_rset.copy(), |
29 row=user.cw_row, |
29 row=user.cw_row, |
30 col=user.cw_col, |
30 col=user.cw_col) |
31 groups=set(user._groups) if hasattr(user, '_groups') else None, |
|
32 properties=dict(user._properties) |
|
33 if hasattr(user, '_properties') else None) |
|
34 clone.cw_attr_cache = dict(user.cw_attr_cache) |
31 clone.cw_attr_cache = dict(user.cw_attr_cache) |
35 return clone |
32 return clone |
36 |
33 |
37 |
34 |
38 def cnx_attach_entity(cnx, entity): |
35 def cnx_attach_entity(cnx, entity): |