Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Participants with 'can create motions' and 'can manage motion metadata' can't create motions with other submitters #4457

Open
bspekker opened this issue Dec 5, 2024 · 2 comments · May be fixed by #4484
Assignees
Labels
Milestone

Comments

@bspekker
Copy link

bspekker commented Dec 5, 2024

Describe the bug
Currently participants with 'can create motions' and 'can manage motion metadata' permissions (and not 'can manage motions') can only create motions without adding other submitters.

How to Reproduce
Steps to reproduce the behavior:

  1. in settings > motions activate 'Enable text-based submitter in motion creation'
  2. give a participants the permissions 'can create motions' and 'can manage motion metadata'
  3. log in as that participant
  4. create a motion
  5. add any submitter from the dropdown menu or additonal user
  6. trying to save will results in this error: You are not allowed to perform action motion.create. Forbidden fields: submitter_ids or You are not allowed to perform action motion.create. Forbidden fields: additional_submitter

Expected behavior
while creating motion:

Scenario 1: participant with 'can create motions' and 'can manage motion metadata', NOT 'can see participants' permissions can:

  • dropdown for submitters is not visible
  • if 'Enable text-based submitter in motion creation' is enabled:
    • instead of the dropdown there should be a H3 text: 'Submitters'
    • it is possible to add additional submitters

Scenaio 2: participant with 'can create motions', 'can manage motion metadata', and 'can see participants' permissions can:

  • dropdown menu with submitters is visible
  • it is possible to add additional submitters (if setting is enabled)

As stated in #4464:
Please also update the helptext "Requires permission to manage motions"

@bspekker bspekker added the bug label Dec 5, 2024
@bspekker bspekker modified the milestones: 4.2, 4.3 Dec 5, 2024
@Elblinator
Copy link
Member

The backend needs to change the behaviour with the appropriate permissions:
OpenSlides/openslides-backend#2760

@reiterl
Copy link
Member

reiterl commented Dec 12, 2024

It is not clear, which helptext should be translated.

@reiterl reiterl self-assigned this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants