Cannot remove row-level-role

image

I create several lvl-role use API jmix

  1. But I cannot remove this roles from UI ? tab -remove disabled for user-admin
  2. How remove role programmaticall?

thx

okey i understand whay disabled tab … because class annotated
next question

can i create a level via changeset
so that the source is db?

Hi!
Yeah, you’re right. Annotated-class-role is available in UI in read-only mode.

You can create an empty liquibase changelog using Jmix studio (Jmix toolwindow > Data Stores > call context menu) and add needed data manually into sec_row_level_role and sec_row_level_policy tables.

Regards,
Irina

thx

if you have to change the rights to the card in the Event Listeners
How can I do that?
will there be a difference with an annotation class and a db class