diff --git a/CHANGELOG b/CHANGELOG index f01e7d1e3..35ba70736 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,11 @@ Agenda: agenda model. No API changes. Assignments: - Massive refactoring and cleanup of assignments app. +- Renamed app from assignment to assignments +Motions: +- Renamed app from motion to motions +Mediafiles: +- Renamed app from mediafile to mediafiles Users: - Massive refactoring of the participant app. Now called 'users'. - Used new anonymous user object instead of an authentification backend. diff --git a/openslides/agenda/main_menu.py b/openslides/agenda/main_menu.py index 00e578e57..db50655a6 100644 --- a/openslides/agenda/main_menu.py +++ b/openslides/agenda/main_menu.py @@ -8,7 +8,7 @@ class AgendaMainMenuEntry(MainMenuEntry): Main menu entry for the agenda app. """ verbose_name = ugettext_lazy('Agenda') - required_permission = 'agenda.can_see_agenda' + required_permission = 'agenda.can_see' default_weight = 20 pattern_name = 'item_overview' icon_css_class = 'glyphicon-calendar' diff --git a/openslides/agenda/models.py b/openslides/agenda/models.py index 8fc269e52..d9ec490ed 100644 --- a/openslides/agenda/models.py +++ b/openslides/agenda/models.py @@ -114,8 +114,8 @@ class Item(RESTModelMixin, SlideMixin, AbsoluteUrlMixin, MPTTModel): class Meta: permissions = ( - ('can_see_agenda', ugettext_noop("Can see agenda")), - ('can_manage_agenda', ugettext_noop("Can manage agenda")), + ('can_see', ugettext_noop("Can see agenda")), + ('can_manage', ugettext_noop("Can manage agenda")), ('can_see_orga_items', ugettext_noop("Can see orga items and time scheduling of agenda"))) class MPTTMeta: diff --git a/openslides/agenda/templates/agenda/item_row.html b/openslides/agenda/templates/agenda/item_row.html index f6a39e51b..dde29ad09 100644 --- a/openslides/agenda/templates/agenda/item_row.html +++ b/openslides/agenda/templates/agenda/item_row.html @@ -2,7 +2,7 @@ {% load tags %}