diff --git a/openslides/assignments/static/js/assignments/site.js b/openslides/assignments/static/js/assignments/site.js index 03b96d794..1121966f6 100644 --- a/openslides/assignments/static/js/assignments/site.js +++ b/openslides/assignments/static/js/assignments/site.js @@ -157,7 +157,7 @@ angular.module('OpenSlidesApp.assignments.site', [ label: gettextCatalog.getString('Show as agenda item'), description: gettextCatalog.getString('If deactivated the election appears as internal item on agenda.') }, - hide: !operator.hasPerms('assignments.can_manage') + hide: !(operator.hasPerms('assignments.can_manage') && operator.hasPerms('agenda.can_manage')) }]; // parent item diff --git a/openslides/motions/static/js/motions/motion-block.js b/openslides/motions/static/js/motions/motion-block.js index 37478d4d2..25fc766d3 100644 --- a/openslides/motions/static/js/motions/motion-block.js +++ b/openslides/motions/static/js/motions/motion-block.js @@ -83,7 +83,8 @@ angular.module('OpenSlidesApp.motions.motionBlock', []) templateOptions: { label: gettextCatalog.getString('Show as agenda item'), description: gettextCatalog.getString('If deactivated it appears as internal item on agenda.') - } + }, + hide: !(operator.hasPerms('motions.can_manage') && operator.hasPerms('agenda.can_manage')) }, { key: 'agenda_parent_item_id', diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js index e40e8e174..726235ae1 100644 --- a/openslides/motions/static/js/motions/site.js +++ b/openslides/motions/static/js/motions/site.js @@ -374,7 +374,7 @@ angular.module('OpenSlidesApp.motions.site', [ label: gettextCatalog.getString('Show as agenda item'), description: gettextCatalog.getString('If deactivated the motion appears as internal item on agenda.') }, - hide: !operator.hasPerms('motions.can_manage') + hide: !(operator.hasPerms('motions.can_manage') && operator.hasPerms('agenda.can_manage')) }]; // parent item diff --git a/openslides/topics/static/js/topics/site.js b/openslides/topics/static/js/topics/site.js index fe8d2beb5..a758fb24a 100644 --- a/openslides/topics/static/js/topics/site.js +++ b/openslides/topics/static/js/topics/site.js @@ -122,7 +122,8 @@ angular.module('OpenSlidesApp.topics.site', ['OpenSlidesApp.topics', 'OpenSlides templateOptions: { label: gettextCatalog.getString('Show as agenda item'), description: gettextCatalog.getString('If deactivated it appears as internal item on agenda.') - } + }, + hide: !operator.hasPerms('agenda.can_manage') }); // parent item