ecm event 请求限制权限

This commit is contained in:
曹前明 2022-07-05 10:33:41 +08:00
parent 85fa7dfdbe
commit ed7ec8e780
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class EventViewSet(ListModelMixin, RetrieveModelMixin, CustomGenericViewSet):
class RemindViewSet(ListModelMixin, CustomGenericViewSet):
perms_map = {'get': 'envent:view'}
perms_map = {'get': '*'}
queryset = Remind.objects.all()
serializer_class = RemindSerializer
select_related_fields = ['recipient', 'event']