cuba-platform / reports

CUBA Reports Addon
https://www.cuba-platform.com/
Apache License 2.0
9 stars 4 forks source link

Create design-time full-access roles for Reports #268

Closed MikhailSilk closed 3 years ago

MikhailSilk commented 3 years ago

Environment

Description of the bug or enhancement

The role should allow all permissions of the Reporting add-on.

Role will appear in the project after adding Report add-on to the project.

MikhailSilk commented 3 years ago

Case 1

  1. Create a new project and install Reports add-on
  2. Create a new user
  3. Assign system-reports-full-access role to the created user
  4. Login as created user
  5. Start to create a new report
  6. Open the Templates tab
  7. Start to create a new template

AR: Upload button is disabled. Also, Upload button disabled in the Import report dialog window, Upload the file on the Report Structure tab, изображение изображение изображение

Case 2

  1. Create a new project and install Reports add-on
  2. Create a new user
  3. Assign system-reports-full-access role to the created user
  4. Login as created user
  5. Start to create a new report
  6. Open the Roles and Screens tab
  7. Try to add something role

AR: Role was not added

https://user-images.githubusercontent.com/24281695/103137785-966b4680-46e5-11eb-87c2-7be637f3386a.mp4