Skip to content

Commit

Permalink
[fix] fixed missing own asset rule for parent recursive get access rule
Browse files Browse the repository at this point in the history
  • Loading branch information
julienV committed Jul 6, 2017
1 parent f6f10af commit bdfdcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/access/access.php
Expand Up @@ -597,7 +597,7 @@ public static function getAssetRules($assetKey, $recursive = false, $recursivePa

// If not full recursive mode, but recursive parent mode, do not add other recursion rules.
if (!$recursive && $recursiveParentAsset && self::$assetPermissionsParentIdMapping[$extensionName][$id]->name !== $extensionName
&& self::$assetPermissionsParentIdMapping[$extensionName][$id]->id !== $assetId)
&& self::$assetPermissionsParentIdMapping[$extensionName][$id]->id != $assetId)
{
continue;
}
Expand Down

0 comments on commit bdfdcdc

Please sign in to comment.