Beispiel #1
0
 def _can_delete(self, instance):
     return register_log_has_perm(self.context["request"], instance,
                                  "delete")
Beispiel #2
0
 def _can_edit(self, instance):
     return register_log_has_perm(self.context["request"], instance,
                                  "change")
Beispiel #3
0
 def _can_delete(self, instance):
     return register_log_has_perm(self.context['request'], instance,
                                  'delete')
Beispiel #4
0
 def _can_edit(self, instance):
     return register_log_has_perm(self.context['request'], instance,
                                  'change')
Beispiel #5
0
 def _can_delete(self, instance):
     return register_log_has_perm(self.context['request'], instance, 'delete')
Beispiel #6
0
 def _can_edit(self, instance):
     return register_log_has_perm(self.context['request'], instance, 'change')