development

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Chris Charlton's picture

LA Drupal meetup: November 14, 2017 - Local Development with Lando (Kalabox 3.0) for Mac/Windows/Linux

Start: 
2017-11-14 19:00 - 21:00 America/Los_Angeles
Event type: 
User group meeting

Join us Tuesday night, November 14, 2017, for an official Los Angeles monthly meetup! It will be an entire night of Drupal goodies. All developers and designers welcome. This month, come watch us present on how to develop locally using a wonderful new tool known in beta as Lando (Kalabox 3.0), which helps replace MAMP, XAMP, WAMP, and similar *AMP desktop tools. Works for Mac, Windows, and Linux; makes Drupal development on your workstation simpler!

Read more
frob's picture

Handling Permissions for custom drush modules

Hello anyone who has built custom drush modules.

I am writing drush integration into my event tracking module in the form of admin controls and I have a question about user permissions. I want to allow the creation of event tracking code to be added through a drush command. However, because this would be the equivalent of javascript injection, this would have the potential for a xss attack to be injected into the ga code. I want to limit this with the use of user level permissions, just as I would if this where a web based admin section.

Read more
Subscribe with RSS Syndicate content