? ? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
21 Jan 2020

Pull Request for Issue #27581 .

Summary of Changes

Changing permission check so it actually checks if the user is allowed to create a menuitem.

Testing Instructions

Create a user which isn't allowed to create a menuitem.
Create or edit an article and see if the "Save to Menu" appears (in the save dropdown)

Test also with a user which is allowed to create a menuitem.

Expected result

Button only appears if user is allowed to create a menuitem

Actual result

Button always appears

Documentation Changes Required

None

avatar Bakual Bakual - open - 21 Jan 2020
avatar Bakual Bakual - change - 21 Jan 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jan 2020
Category Administration com_content
avatar alikon
alikon - comment - 23 Feb 2020

@Bakual please can you solve conflict

avatar Bakual Bakual - change - 23 Feb 2020
Labels Added: Conflicting Files ?
avatar Bakual
Bakual - comment - 23 Feb 2020

Rebased. There were no conflicts to solve.

avatar alikon
alikon - comment - 23 Feb 2020

shame on me
can you tell me how to create that kind of user step by step

Create a user which isn't allowed to create a menuitem.

avatar joomdonation
joomdonation - comment - 23 Feb 2020

I have tested this item successfully on 66f787b


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

avatar joomdonation joomdonation - test_item - 23 Feb 2020 - Tested successfully
avatar joomdonation
joomdonation - comment - 23 Feb 2020

@alikon

  • Create a new user account, assign him to Administrator user group
  • Go to Menus -> Manage, click on Options button in the toolbar, click o Permissions tab, select Administrator user group, set Create permission to Denied.

Now users from Administrator user group won't have create menu item permission...

avatar alikon
alikon - comment - 23 Feb 2020

I have tested this item successfully on 66f787b


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

avatar alikon alikon - test_item - 23 Feb 2020 - Tested successfully
avatar alikon alikon - change - 23 Feb 2020
Status Pending Ready to Commit
avatar alikon
alikon - comment - 23 Feb 2020

RTC


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

avatar richard67 richard67 - change - 23 Feb 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-02-23 20:41:03
Closed_By richard67
Labels Added: ?
Removed: Conflicting Files
avatar richard67 richard67 - close - 23 Feb 2020
avatar richard67 richard67 - merge - 23 Feb 2020
avatar richard67
richard67 - comment - 23 Feb 2020

Thanks.

Add a Comment

Login with GitHub to post a comment