? Success

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
5 Jun 2016

Pull Request for Issue #10552

Summary of Changes

When checking the access status for a given action, we should check on that current active action. This was hardcoded to core.admin so only this action was checked. This change fixes that.

Testing Instructions

  1. Go to System -> Global Configuration
  2. Click on Banners
  3. Click on the Permission Tab
  4. Click on the Administrator group and see the following permissions:

com_banners_administrator_permission_staging
5. All Calculated settings are set to Allowed (Super User)
6. This is wrong because Configure Options Only is not set to allowed anywhere
7. Apply the patch and reload the page
8. Click on the Administrator group and see the following permissions:
com_banners_administrator_permission_patch
9. The Configure Options Only is now set to Not Allowed as it should be

Known issues

The setting of (Super User) is not correct either but this pull request doesn't fix that. The plan is to propose multiple small pull requests to fix the ACL issues. This way we can keep track of the changes easier.

avatar roland-d roland-d - open - 5 Jun 2016
avatar roland-d roland-d - change - 5 Jun 2016
Status New Pending
avatar roland-d roland-d - change - 5 Jun 2016
Milestone Added:
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jun 2016
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - test_item - 5 Jun 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 5 Jun 2016

I have tested this item successfully on d7bdbd2

works as described


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

avatar infograf768 infograf768 - test_item - 5 Jun 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 5 Jun 2016

I have tested this item successfully on d7bdbd2


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

avatar infograf768 infograf768 - change - 5 Jun 2016
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 5 Jun 2016

rtc


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

avatar joomla-cms-bot joomla-cms-bot - change - 5 Jun 2016
Labels Added: ?
avatar rdeutz rdeutz - change - 5 Jun 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-06-05 14:36:08
Closed_By rdeutz
avatar rdeutz rdeutz - close - 5 Jun 2016
avatar rdeutz rdeutz - merge - 5 Jun 2016
avatar joomla-cms-bot joomla-cms-bot - close - 5 Jun 2016
avatar rdeutz rdeutz - reference | b232c81 - 5 Jun 16
avatar rdeutz rdeutz - merge - 5 Jun 2016
avatar rdeutz rdeutz - close - 5 Jun 2016
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jun 2016
Labels Removed: ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Jun 2016

@roland-d i noticed my Super User group permission has now the "Not Allowed" label by default.
This happens in all components.

image

avatar roland-d roland-d - head_ref_deleted - 7 Jun 2016
avatar roland-d
roland-d - comment - 7 Jun 2016

@andrepereiradasilva That is to be expected since we are now checking against the correct action, so the Super User needs to be fixed. I will look into this and post another PR for this case.

avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Jun 2016

ok thanks for the feedback

Add a Comment

Login with GitHub to post a comment