equal
deleted
inserted
replaced
15 # |
15 # |
16 # You should have received a copy of the GNU Lesser General Public License along |
16 # You should have received a copy of the GNU Lesser General Public License along |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 """Security hooks: check permissions to add/delete/update entities according to |
18 """Security hooks: check permissions to add/delete/update entities according to |
19 the user connected to a session |
19 the user connected to a session |
20 |
|
21 """ |
20 """ |
22 __docformat__ = "restructuredtext en" |
21 __docformat__ = "restructuredtext en" |
23 |
22 |
24 from cubicweb import Unauthorized |
23 from cubicweb import Unauthorized |
25 from cubicweb.selectors import objectify_selector, lltrace |
24 from cubicweb.selectors import objectify_selector, lltrace |