mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2.03k stars 829 forks source link

[MM-61144][MM-60704] Show badges and allow Edit Server modal for permissions for pre-defined servers #3175

Closed devinbinnie closed 4 weeks ago

devinbinnie commented 1 month ago

Summary

Pre-defined servers, such as those defined by Group Policy on Windows, were not able to access the Edit Server Modal since there was nothing to edit for those servers. However, when we introduced the permissions UI we didn't account for these pre-defined servers which still might need to be able to trigger the permissions.

This PR makes changes so that in the server dropdown, for pre-defined server you can now click the pencil icon to access the permissions switches. I've also made a change to not hide badges that show up for said servers.

Ticket Link

https://mattermost.atlassian.net/browse/MM-60704 https://mattermost.atlassian.net/browse/MM-61144

Fixed an issue where pre-defined couldn't edit permissions, and the dropdown would not show badges
mattermost-build commented 4 weeks ago

Cherry pick is scheduled.