You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module runs the same lua code on all instances, but I want to run some lua code only on router, some only on storage. So, i have to write something like this
Overview
This release introduces new helper to check whether roles are enabled
on the Cartridge instance
New features
- `utils.check_roles_enabled` helper function
to check whether roles are enabled on the instance (#68).
Thanks
We want to thank @Satbek for a feature contribution.
Overview
This release introduces new helper to check whether roles are enabled
on the Cartridge instance
New features
- `utils.check_roles_enabled` helper function
to check whether roles are enabled on the instance (#68).
Thanks
We want to thank @Satbek for a feature contribution.
module runs the same lua code on all instances, but I want to run some lua code only on router, some only on storage. So, i have to write something like this
please add in utils something like this
utils.check_roles_enabled({'crud-storage', 'my_super_role'})
The text was updated successfully, but these errors were encountered: