fix: 去除change_setting权限位

This commit is contained in:
Jiangjie.Bai
2022-03-15 20:23:22 +08:00
committed by Jiangjie.Bai
parent 4bfa88f01f
commit d320443c9f
7 changed files with 6 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ class MailTestingAPI(APIView):
serializer_class = serializers.MailTestSerializer
success_message = _("Test mail sent to {}, please check")
rbac_perms = {
'POST': 'settings.change_setting'
'POST': 'settings.change_email'
}
def post(self, request):