? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
18 May 2016

Summary of Changes

Some ACL in the menus list view aren't working quite right:

  • If the user can't delete a particular menu type or is menu items it shouldn't be allowed to delete the menu type.

Testing Instructions

  1. Create a user groups "testgroup" (child of "Administrator" user group)

  2. Go to Menus -> Manager, create a "menu-dont-delete" menu type and set the "testgroup" group to have no permission (Denied) to "Delete"

  3. Create a user "testuser" and add it only to "testgroup"

  4. Open a new private browser window and login to backend with "testuser".

  5. Go to menu Menus -> Manage

  6. Try to delete the "menu-dont-delete". The menu is deleted!

    It shouldn't since you removed that permission in "2."

  7. Apply patch. Repeat step 2. and 6. all good, a error message will appear.
    You can also try with several menus at the same time.

@bembelimen @infograf768 please test

avatar andrepereiradasilva andrepereiradasilva - open - 18 May 2016
avatar andrepereiradasilva andrepereiradasilva - change - 18 May 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 May 2016
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - change - 18 May 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - change - 18 May 2016
The description was changed
avatar brianteeman brianteeman - change - 18 May 2016
Category ACL
avatar infograf768 infograf768 - test_item - 19 May 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 19 May 2016

I have tested this item successfully on 72054a0


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

avatar Cybernary Cybernary - test_item - 21 May 2016 - Tested successfully
avatar Cybernary
Cybernary - comment - 21 May 2016

I have tested this item successfully on 72054a0

Tested on 21-05-2016 and worked fine.


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

avatar brianteeman brianteeman - change - 21 May 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 21 May 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 21 May 2016
Milestone Added:
avatar roland-d roland-d - change - 21 May 2016
Status Ready to Commit Information Required
Labels
avatar roland-d
roland-d - comment - 21 May 2016

Taking RTC off for now until updated.


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

avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2016
Labels Removed: ?
avatar infograf768
infograf768 - comment - 22 May 2016

@roland-d
Can you merge after changing

                // Make sure the item ids are integers
                //jimport('joomla.utilities.arrayhelper');  // DELETE
                //JArrayHelper::toInteger($cids);  // DELETE
                $cids = Joomla\Utilities\ArrayHelper::toInteger($cids);  // ADD

as @andrepereiradasilva Is unavailable for now.

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 May 2016

i will do it

avatar joomla-cms-bot
joomla-cms-bot - comment - 22 May 2016

This PR has received new commits.

CC: @Cybernary, @infograf768


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 22 May 2016

This PR has received new commits.

CC: @Cybernary, @infograf768


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 May 2016

done

avatar infograf768 infograf768 - test_item - 23 May 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 23 May 2016

I have tested this item successfully on 88e40ed

One more tester.


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

avatar infograf768
infograf768 - comment - 23 May 2016

@Cybernary
We need another test here.

avatar brianteeman brianteeman - change - 23 May 2016
Status Information Required Pending
avatar brianteeman brianteeman - test_item - 24 May 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 24 May 2016

I have tested this item successfully on 88e40ed


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

avatar brianteeman brianteeman - change - 24 May 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 24 May 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2016
Labels Added: ?
avatar roland-d roland-d - change - 28 May 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-05-28 09:38:14
Closed_By roland-d
avatar roland-d roland-d - close - 28 May 2016
avatar roland-d roland-d - merge - 28 May 2016
avatar joomla-cms-bot joomla-cms-bot - close - 28 May 2016
avatar roland-d roland-d - reference | d33e80b - 28 May 16
avatar roland-d roland-d - merge - 28 May 2016
avatar roland-d roland-d - close - 28 May 2016
avatar joomla-cms-bot joomla-cms-bot - change - 28 May 2016
Labels Removed: ?
avatar roland-d
roland-d - comment - 28 May 2016

Thanks everybody

avatar andrepereiradasilva andrepereiradasilva - head_ref_deleted - 28 May 2016

Add a Comment

Login with GitHub to post a comment