000-CMS

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 ?.

avatar famillemariejeunesse famillemariejeunesse - open - 1 Aug 2013
avatar famillemariejeunesse famillemariejeunesse - open - 1 Aug 2013
avatar - close - 1 Aug 2013
avatar mbabker mbabker - close - 1 Aug 2013
avatar mbabker
mbabker - comment - 1 Aug 2013

Please report this issue to the Joomla! CMS

Add a Comment

Login with GitHub to post a comment