Add skipAcsCheck option to getAvailableFileAReas()
This commit is contained in:
@@ -65,6 +65,10 @@ function getAvailableFileAreas(client, options) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(options.skipAcsCheck) {
|
||||||
|
return false; // no ACS checks (below)
|
||||||
|
}
|
||||||
|
|
||||||
if(options.writeAcs && !client.acs.hasFileAreaWrite(areaInfo)) {
|
if(options.writeAcs && !client.acs.hasFileAreaWrite(areaInfo)) {
|
||||||
return true; // omit
|
return true; // omit
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user