create menu item alias with access level registered or above
the system should redirect to login page / restrict the access from public
public still can access the page.
Joomla version 3.9.3
PHP 7.2.15 ubuntu
mysql 5.7.25-0ubuntu0.18.04.2
in joomla 8 is fine, this happen after I update Joomla to version 3.9.3
Labels |
Added:
?
|
Status | New | ⇒ | Information Required |
The access level of both parent and item is Registered. I changed the parent item menu type to menu heading and it works properly
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
Status | Information Required | ⇒ | Discussion |
Category | ⇒ | ACL com_menus |
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Closed - Unconfirmed Report |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-24 15:12:47 |
Closed_By | ⇒ | jwaisner |
Status | Closed - Unconfirmed Report | ⇒ | Closed |
Closed_By | jwaisner | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/24131
This was resolved by user. Closing as not a bug.
What is the access level of the parent menu item?