Improving custom action

Plugins can add their own rights for a resource now.
See the doc and the ExampleBundle config.