api icon indicating copy to clipboard operation
api copied to clipboard

feature request: Make "Permissions" API objects consistent

Open QuantumToasted opened this issue 2 years ago • 0 comments

What do you want to see?

There are multiple places in the API spec where an object representing a role's permissions (allowed and denied) is expressed, but I've noticed an inconsistency: Sometimes the fields are allow and deny (example: Set Role Permission), and sometimes they are a and d (example: Create Role). Could this be fixed up and unified in one way or another? It would make some API wrappers' lives easier not needing to include special JSON deserialization logic to handle the same model with differing field names, or having to include redundant model code. 😄

QuantumToasted avatar Nov 12 '23 03:11 QuantumToasted