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

Add route to show roles permissions #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

capella
Copy link

@capella capella commented Oct 30, 2019

No description provided.

@ramonberrutti
Copy link

This abandoned Pull Request need just one change that I will like to fix in the whole project.
Never return arrays on the body. I know that existing routes return arrays, but for now, start doing well and return objects.

For this method can do something like:

{
     "permissions": [
              ...
      ]
}

or more specific

{
     "roles": {
         "permissions": [
                ...
         ]
    }
}

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.

2 participants