hooks/security.py
changeset 5680 3a46fd84acc4
parent 5679 0f2ded880d01
child 5815 282194aa43f3
equal deleted inserted replaced
5679:0f2ded880d01 5680:3a46fd84acc4
    57         session = self.session
    57         session = self.session
    58         for values in session.transaction_data.pop('check_entity_perm_op'):
    58         for values in session.transaction_data.pop('check_entity_perm_op'):
    59             entity = session.entity_from_eid(values[0])
    59             entity = session.entity_from_eid(values[0])
    60             action = values[1]
    60             action = values[1]
    61             entity.cw_check_perm(action)
    61             entity.cw_check_perm(action)
    62             check_entity_attributes(session, entity, values[2:])
    62             check_entity_attributes(session, entity, values[2:],
    63                                     creation=self.creation)
    63                                     creation=self.creation)
    64 
    64 
    65     def commit_event(self):
    65     def commit_event(self):
    66         pass
    66         pass
    67 
    67