Can't save filter or presentation in multitenant add-on

Environment: Jmix 1.3.7-213,
MultitenantUserRole have:
@SpecificPolicy(resources = {"ui.loginToUi", "ui.filter.modifyJpqlCondition", "ui.presentations.global", "ui.filter.modifyConfiguration", "ui.filter.modifyGlobalConfiguration"}) void specific();
and
@ScreenPolicy(screenIds = {....."ui_AddConditionScreen", "ui_GroupFilterCondition.edit", "ui_JpqlFilterCondition.edit", "ui_PropertyFilterCondition.edit", "ui_DateIntervalDialog", "ui_UiDataFilterConfigurationModel.fragment", "ui_FilterConfigurationModel.fragment"}) void screens();

Task: Save the customized filter or presentation.
Problem: It doesn’t save with an “access denied” message.
Q: How do I save a filter or presentation?

This issue has been resolved: there was no permission to change the presentation table.
Another question: When I try to save changes to an existing presentation, I get an error:
Caused by: java.lang.IllegalStateException: Cannot get unfetched attribute [sysTenantId] from detached object io.jmix.uidata.entity.UiTablePresentation-6c93c3fa-ea48-5300-513f-e41842921e07 [detached].
Can I fix it myself or can I get help from the addon developers?

Hello,

this error shows when attribute value can not be found. This is resolved by adding that attribute to the view you are using. You can either define that by creating a view on the entity, and tell in the xml that you are using that view to fetch the data, or define inside the xml descriptor itself.

Kind regards,
Mladen

Hi Mladen.
Thank you for your answer. But I meant this screen:

edit-presentation
This screen is generated by a framework.

An error occurs when I try to save changes for a presentation on behalf of an tenant user.
Tenant User Role provides full access to the presentation settings table:

    @EntityPolicy(entityClass = UiTablePresentation.class, actions = EntityPolicyAction.ALL)
    void uiTablePresentation();

Everything works correctly under the administrator.

How can this error be corrected?

I’d appreciate any help.
Yours sincerely, Alex.

And question after question: for the table UiTablePresentation there is no soft delete. I think this option is very useful for multitenant apps.
Can I add this functionality myself as part of the project?

Hi!

Thanks for reporting the problem. We’ve created the ticket for it.

Regards,
Irina