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

Support access constraint for the "Report for list of entities, selected by query" report type with empty query #264

Open
MikhailSilk opened this issue Aug 7, 2020 · 1 comment
Assignees
Labels
type: enhancement New feature or request

Comments

@MikhailSilk
Copy link

Environment

  • Platform version: 7.2.7

Description of the bug or enhancement

  1. Create a new project
  2. Create a new entity with several attributes (for example, String and Integer types)
  3. Create browser and editor screens for the entity
  4. Add Reports add-on
  5. Run the project
  6. Add several different entity items
  7. Create a new user with system-full-access role
  8. Open Administration ->Access groups
  9. Create a new access group
  10. Start to create a new constraints
  11. Select Check in database and in memory check type
  12. Enter one of the attributes in the Where Clause field
  13. Enter the same attributes as in the previous step in the Groovy Script field
    for example, constraint looks like
    изображение
  14. Start to create Reports
  15. Select the entity created in the previous step and any Template type
  16. Select Report for list of entities, selected by query report type and set empty query and click next
  17. Select the entity attributes created in the previous step and click Next
  18. Run the report
    изображение

AR: All data was shown without applying constraint

@MikhailSilk MikhailSilk added the type: enhancement New feature or request label Aug 7, 2020
@kechkibet
Copy link

Hi,
Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants