Skip to content

Customizing error messages in bit operation permission classes generated by BasePermissionMetaclass #9518

Discussion options

You must be logged in to vote

Yes agree it’s non-obvious what messaging would be expected here.
We’re not likely to do anything about this as…

  • REST framework is in feature freeze other than tracking ongoing Django releases & required security fixes.
  • I think composite permissions were an over-design. Suggestion… use a single class with an explicit message.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Antoliny0919
Comment options

@tomchristie
Comment options

Answer selected by tomchristie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants