avatar mbabker
mbabker
20 Jul 2018

Summary of Changes

Once upon a time, the debug user and debug group views were short circuited to be able to skip access checks for certain levels of the ACL tree. However, since the commit for JoomlaCode item 22868 this short circuiting was broken because the arrays that are being processed went from an array of action name and level to action name and description.

So, when you actually get to the part of the models that is changed here, essentially you're doing an if check on "is the ACL tree level greater than or equal to zero" (code example: https://3v4l.org/7Pprh). Unless your #__assets table is a level beyond FUBAR than anything I've ever seen, this condition is always going to be true. Therefore, we can remove the dead code.

Testing Instructions

The debug user and debug group reports still generate correct reports.

// @wilsonge

avatar mbabker mbabker - open - 20 Jul 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2018
Category com_users
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jul 2018
Status New Discussion
avatar alikon
alikon - comment - 20 Jul 2018

unable to mark as successfully tested on the issue tracker

avatar laoneo laoneo - change - 20 Jul 2018
Status Discussion Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-20 13:18:00
Closed_By laoneo
avatar laoneo laoneo - close - 20 Jul 2018
avatar laoneo laoneo - merge - 20 Jul 2018
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jul 2018
Category com_users Administration com_users

Add a Comment

Login with GitHub to post a comment