diff --git a/apps/labels/apps.py b/apps/labels/apps.py index 434a5c6df..a3bf4dabd 100644 --- a/apps/labels/apps.py +++ b/apps/labels/apps.py @@ -1,6 +1,8 @@ from django.apps import AppConfig +from django.utils.translation import gettext_lazy as _ class LabelsConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'labels' + verbose_name = _('Labels') diff --git a/apps/rbac/const.py b/apps/rbac/const.py index 0bac7029e..71eb47fbc 100644 --- a/apps/rbac/const.py +++ b/apps/rbac/const.py @@ -28,6 +28,7 @@ exclude_permissions = ( ('authentication', 'superconnectiontoken', 'change,delete', 'superconnectiontoken'), ('authentication', 'temptoken', 'delete', 'temptoken'), ('users', 'userpasswordhistory', '*', '*'), + ('users', 'usersession', '*', '*'), ('assets', 'adminuser', '*', '*'), ('assets', 'assetgroup', '*', '*'), ('assets', 'cluster', '*', '*'),