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

Fix visibility of participant list singleitem menu #3541

Conversation

reiterl
Copy link
Member

@reiterl reiterl commented Apr 11, 2024

Resolve #3486

@reiterl reiterl added the bug label Apr 11, 2024
@reiterl reiterl added this to the 4.2 milestone Apr 11, 2024
Elblinator

This comment was marked as off-topic.

@Elblinator Elblinator assigned reiterl and unassigned bastianjoel and Elblinator Apr 15, 2024
@reiterl reiterl requested a review from Elblinator April 15, 2024 12:01
@reiterl
Copy link
Member Author

reiterl commented Apr 15, 2024

This issue is not about, what is seen in the singleItemMenu, but about, if the
3 dots icons are shown or not. If the menu is empty, the 3-dots should not be shown.

@Elblinator please retest, and for the other stuff open a new issue.

@reiterl reiterl assigned reiterl, bastianjoel and Elblinator and unassigned reiterl Apr 15, 2024
@@ -454,6 +454,10 @@ export class ParticipantListComponent extends BaseMeetingListViewComponent<ViewU
await this.repo.removeUsersFromMeeting([user]);
}

public canSeeSingleItemMenu(user: ViewUser): boolean {
return this.operator.hasPerms(Permission.userCanManage) || this.canChangePassword(user);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change to this.operator.hasPerms(Permission.userCanUpdate)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

@Elblinator Elblinator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the permission

I'll create a new Issue for my previous CR
#3558

@Elblinator Elblinator assigned reiterl and unassigned bastianjoel and Elblinator Apr 15, 2024
@reiterl
Copy link
Member Author

reiterl commented Apr 16, 2024

okay, I have changed the permission check in canSeeSingleItemMenu.

@reiterl reiterl requested a review from Elblinator April 16, 2024 09:46
@reiterl reiterl assigned bastianjoel and Elblinator and unassigned reiterl Apr 16, 2024
@bastianjoel bastianjoel removed their assignment Apr 16, 2024
@Elblinator Elblinator merged commit 2a5a62c into OpenSlides:main Apr 18, 2024
3 checks passed
@reiterl reiterl deleted the 3486-visibility-participant-list-singleitem-menu branch April 18, 2024 08:36
bastianjoel pushed a commit to bastianjoel/openslides-client that referenced this pull request May 22, 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 this pull request may close these issues.

Fix three dot menu for participant in participant-list
3 participants