modxcms / fred

The friendly front-end editor for visual, drag-and-drop content building in MODX CMS
https://fred.modx.com
MIT License
59 stars 25 forks source link

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

Open JANogueira opened 2 years ago

JANogueira commented 2 years ago

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).