ecm event 请求限制权限
This commit is contained in:
parent
85fa7dfdbe
commit
ed7ec8e780
|
|
@ -93,7 +93,7 @@ class EventViewSet(ListModelMixin, RetrieveModelMixin, CustomGenericViewSet):
|
||||||
|
|
||||||
|
|
||||||
class RemindViewSet(ListModelMixin, CustomGenericViewSet):
|
class RemindViewSet(ListModelMixin, CustomGenericViewSet):
|
||||||
perms_map = {'get': 'envent:view'}
|
perms_map = {'get': '*'}
|
||||||
queryset = Remind.objects.all()
|
queryset = Remind.objects.all()
|
||||||
serializer_class = RemindSerializer
|
serializer_class = RemindSerializer
|
||||||
select_related_fields = ['recipient', 'event']
|
select_related_fields = ['recipient', 'event']
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue