? ? Pending

User tests: Successful: Unsuccessful:

avatar izharaazmi
izharaazmi
12 May 2017

Rescue mode using $root_user in configuration.php does not work as expected. This is because the authorised view levels are still not assigned to the raised privilege user.

For details see #15957

Summary of Changes

JAccess::getAuthorisedViewLevels($userId) changed to return super user access level for the $root_user

Testing Instructions

  • Add public $root_user = 'a_normal_user_username';
  • Login with this user in the backend.

Expected result

The entire backend should be accessible like a super user.

Actual result

Most of the part are inaccessible.

Documentation Changes Required

None

avatar izharaazmi izharaazmi - open - 12 May 2017
avatar izharaazmi izharaazmi - change - 12 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 May 2017
Category Libraries
avatar infograf768
infograf768 - comment - 12 May 2017

Travis is really not happy. :)

avatar wojsmol
wojsmol - comment - 12 May 2017

@brianteeman Please test and comment.

avatar brianteeman
brianteeman - comment - 12 May 2017

I will wait for travis to say it is good

avatar wojsmol
wojsmol - comment - 13 May 2017

cc @mbabker @PhilETaylor Plese comment if PR and in this form has a chance of being accepted. For now let's skip the fact that unit tests do not pass.

avatar izharaazmi izharaazmi - change - 13 May 2017
Labels Added: ?
avatar izharaazmi izharaazmi - change - 13 May 2017
The description was changed
avatar izharaazmi izharaazmi - edited - 13 May 2017
avatar izharaazmi
izharaazmi - comment - 13 May 2017

@infograf768 @brianteeman Travis is now happy ;-)

avatar Gavakshi
Gavakshi - comment - 14 May 2017

I have tested this item successfully on fce6cc8


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15988.

avatar Gavakshi Gavakshi - test_item - 14 May 2017 - Tested successfully
avatar brianteeman
brianteeman - comment - 14 May 2017

I have tested this item successfully on fce6cc8


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15988.

avatar brianteeman brianteeman - test_item - 14 May 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 14 May 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 May 2017

RTC after two successful tests.

avatar rdeutz rdeutz - change - 22 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-22 18:26:35
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 22 May 2017
avatar rdeutz rdeutz - merge - 22 May 2017

Add a Comment

Login with GitHub to post a comment