Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • custom permissions are defined in crtib_configurator.permissions.yml. user was granted permissions. even the super adminsitrator get an access denied. settings file is in src/config/install/crtib_configurator.settings.yml, schema is in src/config/schema/crtib_configurator.schema.yml, other files are in the module root directory. I added crtib_configurator.links.task.yml file has suggested in the first article I still get access denied Commented Jun 18, 2018 at 8:07
  • Could you please add your code from \Drupal\crtib_configurator\Form\SettingsForm & crtib_configurator.permissions.yml here or in your gist. Commented Jun 19, 2018 at 15:21
  • Plus, could you upload your module crtib_configurator as a zip somehwere ? So I would be able to install it & saw the error, it's maybe a typo in the folders/files structure. Commented Jun 19, 2018 at 15:38
  • I tried to changes some names since last Gist but without success. Here is the last version of my module : drive.google.com/open?id=1blRbUOZq0gF1Aj7VtTNgVcvIyKgS55le Commented Jun 20, 2018 at 15:59
  • I updated my answer with a final contribution to fix your issue. I test it on my sandbox environment & it works properly now. I think the main & initial error was the config folder location, see me complete answer. Commented Jun 21, 2018 at 4:41