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

Rest API ignores the permission for the attribute Id #75

Open
NikitaShchienko opened this issue Oct 31, 2019 · 0 comments
Open

Rest API ignores the permission for the attribute Id #75

NikitaShchienko opened this issue Oct 31, 2019 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@NikitaShchienko
Copy link
Contributor

NikitaShchienko commented Oct 31, 2019

Environment

  • Platform version: 7.2
  • Addon version: 7.2

Description of the bug or enhancement

When you add permission type hide in the id attribute, it is not hidden in the Rest-Queries

Minimal reproducible example

  1. Start a project with Rest add-on.
  2. Create a role with permission type hide in the id attribute.
  3. Get the token and send a request for the entity to which the permission is imposed
  • Expected behavior
    Get JSON entity without id attribute
  • Actual behavior
    Id attribute is not hidden.
@NikitaShchienko NikitaShchienko added the type: bug Something isn't working label Oct 31, 2019
@NikitaShchienko NikitaShchienko self-assigned this Oct 31, 2019
@knstvk knstvk added question Further information is requested and removed type: bug Something isn't working labels Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants