Skip to content

[bug] Access Policy: Top menu #14498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ruslan-Aleev opened this issue Mar 19, 2019 · 0 comments
Open

[bug] Access Policy: Top menu #14498

Ruslan-Aleev opened this issue Mar 19, 2019 · 0 comments
Labels
area-core bug The issue in the code or project, which should be addressed.

Comments

@Ruslan-Aleev
Copy link
Collaborator

Ruslan-Aleev commented Mar 19, 2019

Bug report

Summary

Recently we tested all the settings in the Access Policy and grouped them into logical groups, but almost every setting has an inaccuracy or even a bug.

Guys, we need help in testing these problems, both from the MODX-user and from the MODX-components.

"Top menu" Group:

  • menu_site - Hide / Show items in the "Content" section, for a direct link work.
  • import_static - Enable / Disable items "Content-> Import HTML and Import Static Resources", for a direct link do not work.
  • search - Prevent use of search, the search on the top does not work, but does not disappear, the section "Search" (/manager/?a=search) for a direct link does not work.
  • content_types - Enable / Disable the item "Content-> Content Types", for a direct link do not work.
  • sources - Enable / Disable the section "Media Sources" in "Media-> Media Sources", for a direct link does not work.
  • menu_tools - Hide / Show items in the "Manage" section, for a direct link work.
  • access_permissions - Enable / Disable the section "Gear-> Access Control Lists", for a direct link does not work.
  • menu_reports - Hide / Show items in the "Manage-> Reports" section, for a direct link work.
  • menu_user - Hide / Show items in the "Profile" section, for a direct link work.
  • change_profile - Enable / Disable the item "Profile", for a direct link does not work.
  • messages - Enable / Disable the drop-down item "Messages", for a direct link does not work.
  • language - Enable / Disable language change in the manager (new menu item in MODX3).
  • logout - Enable / Disable the item "Logout".
  • namespaces - Enable / Disable the "Namespaces" section ("Gear-> Namespaces"), for a direct link does not work.
  • lexicons - Enable / Disable the section "Dictionary management" ("Gear-> Lexicons"), for a direct link does not work.
  • languages - You can go and edit the entries in the "Lexicons" section ("Gear-> Lexicons"), but a window pops up with an error - a bug. It is not clear why this setting, if there is a setting lexicons.
  • help - Enable / Disable the section "Help", for a direct link does not work.
  • remove_locks - Enable / Disable the link "Remove Locks" ("Manage-> Remove Locks").
  • empty_cache - Enable / Disable the link with clearing the cache ("Manage-> Clear cache").
  • flush_sessions - Enable / Disable the link "Flush Your Permissions" ("Manage-> Flush Your Permissions").
  • logs - Enable / Disable the "Manager actions" section ("Manage-> Reports-> Manager actions"), for a direct link does not work.
  • view_eventlog - Enable / Disable the "Manage-> Reports-> Error Log" section, for a direct link does not work.
  • error_log_view - Enable / Disable the "Manage-> Reports-> Error Log" section, for a direct link does not work, but the item remains in the menu. Similar to view_eventlog.
  • view_sysinfo - Enable / Disable the "Manage-> Reports-> System Info" section, for a direct link does not work.
  • settings - Hide / Show the "Gear" section on the right, for a direct link does not work, but the other items in the section work by direct link.
  • customize_forms - Enable / Disable the "Gear-> Manager Customization" section, for a direct link does not work.
  • dashboards - Enable / Disable the "Gear-> Dashboards" section, for a direct link does not work.
  • actions - Enable / Disable the "Gear-> Menus" section, for a direct link does not work..
  • menus - You can go to the section ("Gear-> Menus"), but errors pop up - a bug. It is not clear why this setting, if there is actions setting.

Below are the settings that can be applied to the menu and another group of access settings.

  • property_sets - Enable / Disable section with "Gear-> Property Sets", does not work for a direct link, duplicates edit_propertyset.
  • edit_propertyset - Enable / Disable section with "Gear-> Property Sets", does not work for a direct link, duplicates property_sets.
  • view_user - Enable / Disable the section "Manage-> Users", for a direct link does not work. Similar to edit_user.
  • edit_user - Enable / Disable the section with users ("Manage-> Users"), for a direct link does not work, but the item remains in the menu. Similar to view_user.
  • view_context - Enable / Disable section with "Gear-> Contexts", for a direct link does not work. If in the tree to go to context editing via the context menu, the page hangs, but does not give an error.
  • components - Hide / Show the whole "Extras" section. The item "Extras-> Installer" for a direct link works.
  • packages - Enable / Disable the whole "Extras" section. The item "Applications-> Installer" for a direct link does not work.
  • workspaces - Enable / Disable the item "Extras-> Installer", this is shown in the menu, but it does not work for a direct link.
  • file_manager - For some reason, the entire section of "Media" is hidden, although in fact only the "Media Browser" is disabled, and the "Media Sources" for a direct link are opened.

Non-working settings. Below are the settings from the old versions that relate to the menu (it seems), but do not work.

  • about - The About page.
  • credits - View the Credits page.
  • export_static - To export the site to static HTML.
  • menu_security - Show the top menu item "Security".
  • menu_support - Show the top menu item "Support".
  • menu_system - Show the top menu item "System".
  • menu_trash - Show the top menu item "Trash Manager".

Menu settings behave strangely, for example, a section may disappear from the menu, but for a direct link the section will work. Or the menu item will remain, but for a direct link it does not work, a page opens with an error.

By the way, the same strange behavior can be in links in the context menu or control buttons.

Environment

MODX >2.x
#14497, #14479, #14468, #14467, #14436, #14435, #14434, #14432, #14431, #14430, #14429, #14419, #14405, #14406, #14407, #14418

@JoshuaLuckers JoshuaLuckers added bug The issue in the code or project, which should be addressed. area-core labels Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core bug The issue in the code or project, which should be addressed.
Projects
None yet
Development

No branches or pull requests

2 participants