I want to override the admin/users page template when a plug in is installed.
Detail: On the user page domain.com/admin/user all the groups are listed in the sidebar area. I get this from the \vender\craftcms\cms\src\templates_layouts\cp.html file. I want to install/use use a custom template for the user page using a plug in.
What are the basics of overriding a admin template through a plugin?
Edit - More detail:
I have a plugin that creates a new controller exactly the way that is proposed in this post. The controller does two things (maybe more later):
1) On entries page it displays all the entries to a logged in user that was posted by them and others from their same group. It does not display entries that were posted by users in other groups.
2) On user page it displays only users from their own group. It does not display any other users from other groups.
On the users page all the groups are listed here:
It does not make sense to display all the groups here as the logged in user can only see or edit users in their own group.
I need to change what is displayed in the group listing area.