fred icon indicating copy to clipboard operation
fred copied to clipboard

Users with "frames" permission cannot see "View in Manager" on Fred menu

Open JANogueira opened this issue 2 years ago • 0 comments

Hi,

Replication steps:

  1. Create a custom Access Policy (like customizing content editor Access policy), keeping frames permission so the user can access the manager;
  2. Then create a new role with the name "Content Editors" with 5000 set as authority level;
  3. Create a new user group, and link a new user to the created role on point 2;
  4. Edit the user group, and go to the permissions tab to add the following permissions using the customized access policy created on point 1:
    image

The user can access the manager, use Fred successfully, but based on the following change, the user with frames access was supposed to see the "View in Manager button": https://github.com/modxcms/fred/commit/31e659747cca850213bdb2c1d574d7a3a40b452f

But unfortunately this is not working. The user can only see the "View in Manager" button on fred when the user is part of the admin group (super user).

JANogueira avatar Oct 15 '22 18:10 JANogueira