After update, only Super Users can login to the backend administrator site.
To make it work again, I manually restored the old code in file "libraries/joomla/access/access.php", commenting the new code and taking cake again of the "$recursive" variable as in the following code.
public static function getAssetRules($asset, $recursive = false)
{
...
// If the asset identifier is numeric assume it is a primary key, else lookup by name.
if (is_numeric($asset))
{
$query->where('(a.id = ' . (int) $asset . ($recursive ? ' OR a.parent_id=0' : '') . ')');
//$query->where('(a.id = ' . (int) $asset . ')');
}
else
{
$query->where('(a.name = ' . $db->quote($asset) . ($recursive ? ' OR a.parent_id=0' : '') . ')');
//$query->where('(a.name = ' . $db->quote($asset) . ')');
}
}
Has it been simply removed by error ?.
Please report this issue to the Joomla! CMS