|
@@ -238,7 +238,7 @@ class InstanceConfig {
|
|
|
|
|
|
|
|
static function generateIsInstanceView($namespace, $item = null, Type_InstanceConfig $conf = null) {
|
|
static function generateIsInstanceView($namespace, $item = null, Type_InstanceConfig $conf = null) {
|
|
|
if (!$item) $item = SchemaFactory::loadDefaultObject('SystemObject')->getItem($namespace, [ 'propertyName' => '*,field' ]);
|
|
if (!$item) $item = SchemaFactory::loadDefaultObject('SystemObject')->getItem($namespace, [ 'propertyName' => '*,field' ]);
|
|
|
- if (!in_array( $item['_type'], [ 'AntAcl' ] )) return null;
|
|
|
|
|
|
|
+ if (!in_array( $item['_type'], [ 'AntAcl', 'StorageAcl' ] )) return null;
|
|
|
$idInstance = ($conf) ? $conf->id : self::getInstanceId($namespace);
|
|
$idInstance = ($conf) ? $conf->id : self::getInstanceId($namespace);
|
|
|
|
|
|
|
|
$localFieldsWithRestrictions = array_filter($item['field'], function ($field) {
|
|
$localFieldsWithRestrictions = array_filter($item['field'], function ($field) {
|