J3 Issue ?
avatar ranggasito
ranggasito
8 Mar 2019

Steps to reproduce the issue

create menu item alias with access level registered or above

Expected result

the system should redirect to login page / restrict the access from public

Actual result

public still can access the page.

System information (as much as possible)

Joomla version 3.9.3
PHP 7.2.15 ubuntu
mysql 5.7.25-0ubuntu0.18.04.2

Additional comments

in joomla 8 is fine, this happen after I update Joomla to version 3.9.3

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar ranggasito ranggasito - open - 8 Mar 2019
avatar joomla-cms-bot joomla-cms-bot - change - 8 Mar 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Mar 2019
avatar ReLater
ReLater - comment - 8 Mar 2019

What is the access level of the parent menu item?

avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Mar 2019
Status New Information Required
avatar ranggasito
ranggasito - comment - 8 Mar 2019

The access level of both parent and item is Registered. I changed the parent item menu type to menu heading and it works properly

avatar ggppdk
ggppdk - comment - 8 Mar 2019

Regardless if you configured inside the (type: "menu item alias") menu item to have
a 301 redirection (you will see URL of the target menu item in the address bar)
or if you disabled the redirection (default setting) thus you will get re-routed to the target menu item

in both cases the access level of the the (type: "menu item alias") menu item
will only hide the menu item

if someone has a direct link to it,
then what happens depends on the access level target menu item and of the access levels of its parent menu items

I changed the parent item menu type to menu heading and it works properly

i have not tested
but it should not be related
i think you got this to work because the target menu item is under this heading menu item you have selected to be also parent of the menu-item-alias menu item

again i could be wrong
i have not done any extensive tests, just a rough look in the code and some (maybe) related PRs

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Mar 2019
Status Information Required Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Mar 2019
Category ACL com_menus
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 4 Apr 2019
avatar jwaisner jwaisner - change - 24 Mar 2020
Status Discussion Closed - Unconfirmed Report
Closed_Date 0000-00-00 00:00:00 2020-03-24 15:12:47
Closed_By jwaisner
avatar joomla-cms-bot joomla-cms-bot - change - 24 Mar 2020
Status Closed - Unconfirmed Report Closed
Closed_By jwaisner joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 24 Mar 2020
avatar joomla-cms-bot
joomla-cms-bot - comment - 24 Mar 2020

Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/24131

avatar jwaisner
jwaisner - comment - 24 Mar 2020

This was resolved by user. Closing as not a bug.


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

Add a Comment

Login with GitHub to post a comment