Action custom in resource roles

in any browser screen, with the default actions, create, edit… custom actions are added.

In addition to the normal rules, which allow executing or not according to some information within the entity, how could the rules be defined to allow the user to have or not permission to perform the action in question?

trying to explain it another way.

a “cancel” action is added
however I would like to configure which user can or cannot perform this action

could someone show me how to do this?

Please see my answer here: Hiding button for particular role - #3 by krivopustov

first of all, thank you very much for the reply.

I checked the issue and agree on some points with the colleague.

so I dared to comment on the shortcut you left from github

(Support UI element constraints like in CUBA · Issue #472 · jmix-framework/jmix · GitHub)

Thanks Marcos for your opinion. It’s important for us to prioritize the work.