We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17883
    • 1,039 Posts
    Hi,

    I have two sites, one is running 0.95RC2, the other one 0.95 final. I wanted to create some manager user roles (with users, document groups etc.) with restricted access to different pages. On the RC2 it works fine, Quickedit renders only on the pages I want and editing works. The same role settings on the other installation don´t work. It renders Quickedit (!), but when trying to change some content following error occurs "You do not sufficient privileges to execute this module". Beside the wrong grammar I really don´t understand where this problem comes from. And yes, the manager user role has the permission to run modules. As far I can see, I really have the same settings on both installations.

    Please help,
    regards Marc

    edit: Editing in the manager is no problem, but Quickedit also doesn´t work (displayed, but not executable) in the preview of the manager.
      • 17883
      • 1,039 Posts
      Okay, after digging in the code and in the database I recognized a strange difference between the two tables "site_module_access" While in the first installation the table was empty, the second one had the following entries:

      id module usergroup
      1 2 1
      2 2 2
      3 2 3
      4 2 4
      5 2 5
      6 2 6


      I deleted this table and now it works. But the question is: Where is this table filled? I have 6 usergroups, and everyone has the "can run modules" checked. Is it filled after saving this setting? But on the other installation I have the same settings (with other usergroups, but generally the same settings)

      Btw, the error came from execute_module_processor.php where the permission is checked.