Events and Registrations Whiteboard
Some whiteboard notes on building Events and Reservations, using Entity References.
Explore the Full ArticleContent Access Control - Role Planning
"_access" membership opens Moderator and Content Editor access for a Site Section.
Additional access is provided by "position_" membership.
The combination of these two role types provides for access within Site Sections.
Further access controls can be derived from the "Default Location" set for all User Profiles.
Pantheon Get Secrets - Config Notes
These notes are for setting up a SMTP Authentication for Drupal sites hosted on Pantheon. Pantheon provides a nice tool for securing API Keys and other credentials, so they do not need to be stored in configuration files as plain text.
The function pantheon_get_secret() may be used to fetch the value of a single secret.
Room Reservation - Location Filters by Site Section
General Concept
On the Reservation Request Form, an authenticated requestor selects their Department request form. They are provided a list of Locations that are available to reserve. Requests are checked against the Department's calendar to ensure there are no conflicts with other reservations.
Technical Breakdown:
On the reservation request form, Ajax calls a hook to update the available Locations based on this Department.
Explore the Full Article
Access Control Using Taxonomy and the Workbench Access Module
A collection of community inputs and evaluation notes for choosing Access Control strategies. Module evaluations were gathered for Group, Workbench Access, and Permission by Term.
(We're going to add entity_hierarchy to this review list.)
Explore the Full ArticleRaspberry Pi Trash-picked Telescope w/ Drupal API
Here is a recently trash-picked telescope from the sidewalks of Philly. The lenses were super dirty, but we put a Pi camera on the thing and could focus a semi-acceptable shot of a roof vent a block away. The Raspberry Pi camera is 10-megapixel with a manual focus that is very sensitive. You can get great shots with the camera, but dialing the focus takes time. The camera runs on a Raspberry Pi and posts wirelessly using a Drupal API and shell script.
AI prompts
Chatbots in Education - GPT
Explore the Full Article
Script to help cleanup the non existing permissions from your roles
See: https://www.drupal.org/node/3193348#comment-14969643
web]$ ../vendor/drush/drush/drush php-script ../drush-scripts/clean_permissions.php
Explore the Full Article