No access to CRUD report in Multitenansy add-on

Hello, colleagues.

Environment: jmix 1.3.9 + Multitenansy add-on + Reports add-on

Task: Create a report under the role of local tenant administrator.

What’s Done: Granted all rights to manipulate reports for the role of local tenant administrator.

Problem: On the screen “Edit report”, the tab “Report structure” is not available for CRUD section “Report bands” and “Band details”.

Question: What do I need to do to make the above sections available to the local tenant administrator?

Thanks for your time.
Sincerely, Alex.

Hi,

  1. The latest Jmix version is 1.3.5 (1.3.9 - is a Studio version probably), so could you please clarify which jmix framework version do you use
  2. What do you mean by “the tab is not available for CRUD section”?

It would be great if you provide a demo project where we can see the issue.

Hello Maxim.

  1. You right, I used 1.3.5 Jmix version.
  2. Sorry it is mean “CRUD operations”.
    nfp-2022-10-23-1_source_document_print.zip (439.4 KB)

What exact steps should I do after running the project to see the issue?

  1. Create a user and assign it the Multitenant User role.
  2. Log in under this user.
  3. Create a report and try to create a new band in this report.
  4. You can’t do that.

Your role is not configured properly. At least you need to provide access for BandDefinition and DataSet entities and their attributes. Take a look at ReportsFullAccessRole, you may use it for reference.

1 Like