? Success

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
8 Jun 2016

Related to #10755

Summary of Changes

This change fixes the feedback given by the AJAX response when changing a permission.

Testing Instructions

  1. Go to System -> Global configuration -> Permission
  2. Click on Super User
  3. Change the permission to Denied
  4. The response is that the permission is Denied which is not true should be Allowed (Super User)
  5. Click on Manager
  6. Change Site Login to Denied
  7. Click on Administrator
  8. Change Site Login to Allowed
  9. The response is that the permission is Allowed which is not true should be Conflict because the Denied of Manager overrules the Administrator setting
  10. Apply the patch
  11. Go to System -> Global configuration -> Permission
  12. Click on Super User
  13. Change the permission to Denied
  14. The response is that the permission is Allowed (Super User). This is correct because the Super User setting overrules this.
  15. Click on Manager
  16. Change Site Login to Denied
  17. Click on Administrator
  18. Change Site Login to Allowed
  19. The response is that the permission is in Conflict. This is correct because the Denied of Manager overrules the Administrator setting of Allowed

Calling @andrepereiradasilva and @infograf768 for special attention :)

avatar roland-d roland-d - open - 8 Jun 2016
avatar roland-d roland-d - change - 8 Jun 2016
Status New Pending
avatar roland-d roland-d - change - 8 Jun 2016
Milestone Added:
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 8 Jun 2016
Category ACL
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2016
Milestone Removed:
avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jun 2016

9 The response is that the permission is Allowed which is not true should be Conflict because the Denied of Manager overrules the Administrator setting

IMHO "Conflict" is not the right word, should be "Not Allowed (parent rule)" or something like that.

avatar roland-d
roland-d - comment - 8 Jun 2016

@andrepereiradasilva Again, I agree with you but the current implementation doesn't support this. My goal is to fix the problems first and then improve what we have.

avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jun 2016

ok right!

avatar infograf768
infograf768 - comment - 8 Jun 2016

siesta time, will look later.. ;)

avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jun 2016

Just an additional comment.
Before doing

18 Change Site Login to Allowed

The administrator "Site Login" caculated permission is "Not Allowed (Locked)".
And when changed to "Allowed" we get "Conflict".

So, if i understand correctly, we have two text strings for the same thing ... that is rather confusing.
I guess this was nothing to do with this PR, but this could be better.

avatar andrepereiradasilva andrepereiradasilva - test_item - 8 Jun 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jun 2016

I have tested this item successfully on 458adc0


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

avatar roland-d
roland-d - comment - 8 Jun 2016

@andrepereiradasilva You now see the quicksand I have been playing with :)

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

I have tested this item successfully on 458adc0

OK here. I can't believe how bad ACL has gone...


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

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

RTC,


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

avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2016
Labels Added: ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jun 2016

@roland-d you're makign a great work solving all this issues! Thanks!

avatar roland-d
roland-d - comment - 8 Jun 2016

@infograf768 At least we are fixing it :)

@andrepereiradasilva Thanks.

avatar infograf768
infograf768 - comment - 8 Jun 2016

You are! I can't believe no one else tries. ????

avatar infograf768
infograf768 - comment - 8 Jun 2016

back to siesta

avatar brianteeman brianteeman - change - 8 Jun 2016
Milestone Added:
avatar wilsonge wilsonge - close - 8 Jun 2016
avatar wilsonge wilsonge - merge - 8 Jun 2016
avatar joomla-cms-bot joomla-cms-bot - close - 8 Jun 2016
avatar wilsonge wilsonge - change - 8 Jun 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-06-08 15:39:23
Closed_By wilsonge
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment