-
Notifications
You must be signed in to change notification settings - Fork 21
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
Expand motion restriction for forwarded motions #1022
Comments
I don't understand. Which restriction mode should be changed in which case? |
I guess, the new rule is:
|
Correct |
@bastianjoel I need another explanation. With the following example: There is meetingA and meetingB, in meetingA is a motionA and it is derived to meetingB as motionB Can you give me an example which user with which permissions in which meetings can see which motion? |
After thinking more about this, I think the rule is:
For my example. A user is in meetingB and has motion.can_see_origin in meetingB and no permissions in meetingA. Now, asks the autoupdate-service for motionA. In this case, the autoupdate-service has to look throw all motions from motionA/all_derived_motion_ids, then look at the meetingID from this motions (it will find the ID from motionB) and then look if the user has motion.can_see_origin in this meeting. If this is correct, then you can review my PR |
@luisa-beerboom You wrote this comment, so I want to include you to this discussion. What about the following collections:
|
motion_comment_section, motion_statute_paragraph, motion_workflow and motion_comment are not needed. But motion_submitter + (user, meeting_user) and poll + (option, vote) are also needed. |
I'll follow what @bastianjoel says on this one, as he is the one who is working on the client. |
As described in OpenSlides/openslides-client#3529 (comment)
If a user has
motion.can_see_origin
they should be able to see origin motions and related metadata of a forwarded motion.Additionally the meeting field
motions_line_length
needs to be available which we could maybe just change the restriction mode for.Needed for OpenSlides/openslides-client#3529
The following collections/restriction modes need to be changed:
Request for origin motion
The text was updated successfully, but these errors were encountered: