djoser
djoser copied to clipboard
`resend_activation` action uses `password_reset` permission from settings
Hello there,
As mentionned in the title of this issue, resend_activation
action uses the password_reset
permission from the settings:
def get_permissions(self):
...
elif self.action == "resend_activation":
self.permission_classes = settings.PERMISSIONS.password_reset
...
What is the reason of this? In my opinion, it should use its own permession or at least the activation
permission.
I can open a PR in order to fix this if needed.