server/session.py
changeset 5159 2543cfa5d54a
parent 5130 929984f017e6
child 5174 78438ad513ca
child 5193 c9671feff5e2
equal deleted inserted replaced
5158:5e9055b8c10a 5159:2543cfa5d54a
   894         return description
   894         return description
   895 
   895 
   896     # deprecated ###############################################################
   896     # deprecated ###############################################################
   897 
   897 
   898     @deprecated("[3.7] execute is now unsafe by default in hooks/operation. You"
   898     @deprecated("[3.7] execute is now unsafe by default in hooks/operation. You"
   899                 " can also control security with session.[read|write]_security")
   899                 " can also control security with the security_enabled context "
       
   900                 "manager")
   900     def unsafe_execute(self, rql, kwargs=None, eid_key=None, build_descr=True,
   901     def unsafe_execute(self, rql, kwargs=None, eid_key=None, build_descr=True,
   901                        propagate=False):
   902                        propagate=False):
   902         """like .execute but with security checking disabled (this method is
   903         """like .execute but with security checking disabled (this method is
   903         internal to the server, it's not part of the db-api)
   904         internal to the server, it's not part of the db-api)
   904         """
   905         """