Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Make "Permissions" API objects consistent #29

Open
QuantumToasted opened this issue Nov 12, 2023 · 0 comments
Open

feature request: Make "Permissions" API objects consistent #29

QuantumToasted opened this issue Nov 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@QuantumToasted
Copy link

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 QuantumToasted added the enhancement New feature or request label Nov 12, 2023
@insertish insertish moved this to 🧑‍💻 Needs Reproduction in Revolt Project Mar 28, 2024
@insertish insertish moved this from 🧑‍💻 Needs Reproduction to 💬 Needs Discussion in Revolt Project Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 💬 Needs Discussion
Development

No branches or pull requests

1 participant