diff --git a/tailbone/views/batch.py b/tailbone/views/batch.py index b8f56b91..39a9a742 100644 --- a/tailbone/views/batch.py +++ b/tailbone/views/batch.py @@ -688,6 +688,11 @@ class BatchMasterView(MasterView): url_prefix = cls.get_url_prefix() permission_prefix = cls.get_permission_prefix() model_title = cls.get_model_title() + model_title_plural = cls.get_model_title_plural() + + # TODO: currently must do this here (in addition to `_defaults()` or + # else the perm group label will not display correctly... + config.add_tailbone_permission_group(permission_prefix, model_title_plural, overwrite=False) # refresh rows data config.add_route('{}.refresh'.format(route_prefix), '{}/{{uuid}}/refresh'.format(url_prefix))