Create a standard user and add them as a cluster member
Log in as that user
Navigate to cluster & project members
On the cluster member tab (default tab), hit 'add'
Try to add a member
Result:
An error is returned: clusterroletemplatebindings.management.cattle.io is forbidden: User "u-jqgsc" cannot create resource "clusterroletemplatebindings" in API group "management.cattle.io" in the namespace "local"
Expected Result:
Users who don't have permission to create cluster role template bindings shouldn't be shown the 'add' (cluster member) button on the cluster & project members page.
To reproduce:
clusterroletemplatebindings.management.cattle.io is forbidden: User "u-jqgsc" cannot create resource "clusterroletemplatebindings" in API group "management.cattle.io" in the namespace "local"
Expected Result: Users who don't have permission to create cluster role template bindings shouldn't be shown the 'add' (cluster member) button on the cluster & project members page.