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.
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