hooks/security.py
changeset 5654 8bb34548be86
parent 5557 1a534c596bff
child 5679 0f2ded880d01
equal deleted inserted replaced
5653:c562791df9d2 5654:8bb34548be86
    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