nabo 15 Posted April 6, 2020 Hello I created a module to import page and connected the process with a new admin page directly visible in the main menu. I also set the permission to the module 'permission' => 'importposts' and add the permission to a particular role ... but this link doesn't appear when I'm logged in with the role different to superuser. What's wrong? Share this post Link to post Share on other sites
bernhard 5,126 Posted April 6, 2020 Can we see the code of your module? This is an example I am using: class ProcessEARDashboard extends Process { public static function getModuleInfo() { return [ 'title' => 'EAR Dashboard', 'version' => '0.0.1', 'summary' => 'EAR Dashboard', 'icon' => 'gears', 'requires' => [], 'installs' => [ 'ProcessEARNew', 'ProcessEARImport', ], 'permission' => 'ear-dashboard', 'permissions' => ['ear-dashboard' => 'May see the EAR dashboard'], 'page' => [ 'name' => 'ear', 'title' => 'EAR Dashboard' ], ]; } 1 Share this post Link to post Share on other sites
nabo 15 Posted April 6, 2020 Thanks @bernhard I created the page after the installation of module and it doesn't work. So I uninstall the module and edit it addings permissions and page and now it works as I expected 🙂 thanks again! Share this post Link to post Share on other sites