This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
need proper validation while adding a datastore access for a tenant (admin_cli is allowing to add nonexistent datastore) #827
Labels
Steps to repro:
create tenant let's say T1
vmdkops_admin.py tenant create --name=T1
create access list for Tenant T1 with nonexistent datastore (e.g. randomDS)
vmdkops_admin.py tenant access add --name=T1 --datastore=randomDS
List all access info for a tenant T1
vmdkops_admin.py tenant access ls --name=T1
Expectation: access rule should not be created for '--datastore=randomDS'
Here is what admin_cli is returning:
The text was updated successfully, but these errors were encountered: