--- a/cubicweb/server/repository.py Fri Mar 10 16:31:08 2017 +0100
+++ b/cubicweb/server/repository.py Fri Mar 10 16:55:57 2017 +0100
@@ -670,8 +670,7 @@
"""Context manager returning a Connection using internal user which have
every access rights on the repository.
- Beware that unlike the older :meth:`internal_session`, internal
- connections have all hooks beside security enabled.
+ Internal connections have all hooks beside security enabled.
"""
with Session(InternalManager(), self).new_cnx() as cnx:
cnx.user._cw = cnx # XXX remove when "vreg = user._cw.vreg" hack in entity.py is gone