Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mahdighadiriii
Copy link
Contributor

@mahdighadiriii mahdighadiriii commented Nov 11, 2025

Problem

Users set permission_classes on @action methods, but when using .as_view(), these are ignored.
Fixes #9638

Example:

@action(detail=False, permission_classes=[IsAuthenticated])
def test_action(self, request): ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve viewset action docs

1 participant