|
|
@@ -434,7 +434,11 @@ class Route_Storage extends RouteBase {
|
|
|
if (!$item['idZasob']) throw new Exception("Missing id zasob for object '{$namespace}'");
|
|
|
if (!$item['idDatabase']) throw new Exception("Missing id database for object '{$namespace}'");
|
|
|
if (!$item['_rootTableName']) throw new Exception("Missing root table name for object '{$namespace}'");
|
|
|
- if ('AntAcl' != $item['_type']) throw new Exception("Not implemented type '{$item['_type']}' for namespace '{$namespace}' - only AntAcl supported");
|
|
|
+ switch ($item['_type']) {
|
|
|
+ case 'AntAcl': break; // OK
|
|
|
+ case 'StorageAcl': break; // OK
|
|
|
+ default: throw new Exception("Not implemented type '{$item['_type']}' for namespace '{$namespace}' - only AntAcl supported");
|
|
|
+ }
|
|
|
if (!$item['hasStruct']) throw new Exception("Missing structure for object '{$namespace}'");
|
|
|
if (!$item['isStructInstalled']) throw new Exception("Structure not installed for object '{$namespace}'");
|
|
|
if (!$item['isObjectActive']) throw new Exception("Object is not active '{$namespace}'");
|