Add skipAcsCheck option to getAvailableFileAReas()

This commit is contained in:
Bryan Ashby 2017-09-10 20:51:30 -06:00
parent 9d09390561
commit a91ae779be

View file

@ -65,6 +65,10 @@ function getAvailableFileAreas(client, options) {
return true;
}
if(options.skipAcsCheck) {
return false; // no ACS checks (below)
}
if(options.writeAcs && !client.acs.hasFileAreaWrite(areaInfo)) {
return true; // omit
}