cubicweb/pyramid/tools.py
changeset 11701 ca536eec556b
parent 11631 faf279e33298
child 11811 f09efeead7f9
--- a/cubicweb/pyramid/tools.py	Mon Jun 06 16:08:03 2016 +0200
+++ b/cubicweb/pyramid/tools.py	Mon Jun 06 15:37:01 2016 +0200
@@ -27,10 +27,7 @@
         None,
         rset=user.cw_rset.copy(),
         row=user.cw_row,
-        col=user.cw_col,
-        groups=set(user._groups) if hasattr(user, '_groups') else None,
-        properties=dict(user._properties)
-        if hasattr(user, '_properties') else None)
+        col=user.cw_col)
     clone.cw_attr_cache = dict(user.cw_attr_cache)
     return clone