Field labels and data not visible

Hi,

I am trying out CUBA version 7.2.

In a new project generated simple entity browser and editor screen. All screens work perfectly with the predefined admin user.

I created a new role and configured it to allow all screens and allow all entities. Assigned the role to a user and this user is able to open all screens including system screens but field labels and data are missing.

For example on administration - User Sessions screen filter, action buttons and correct row count is visible but Group Table column labels as well as data aren’t visible.

Appreciate any suggestion to resolve this.

Thanks

Abhishek

Hi,
Have you specified attribute permissions for entities?
All attributes by default are denied to view or modify. You have to permit them.

Thanks Alexander!

It works, so I have to explicitly permit each attribute of each entity for this role. Is there any shorter way of doing it.

Thank you
Abhishek

If you are using design-time roles, then you can enable all attributes by using wildcard. Example from docs:

 @EntityAttributeAccess(entityClass = Customer.class, modify = "*")

If you create roles in runtime, then use the “[all]” checkbox in the attributes panel:
image

1 Like