~/talk

When Roles Aren’t Enough: Modern Permissions in Drupal with the Access Policy API

Talkat DrupalCamp NJ 2026 · 2026-03-12..03-14· [drupal, software-architecture]
links:none on file
slides:none on file

Drupal 10.3 adds the Access Policy API as a tagged-service system that the access policy processor loops through twice—once to calculate permissions and again to alter permissions—using an extensible AccessPolicyBase, a refinable calculated permissions item, and explicit cache tags, contexts, and max-age. The demo modules show a contest-winner policy that grants a “buy VIP tickets” permission by merging items and a security-training policy that revokes content permissions via overwrite; it works but requires careful caching and is already used by Group, External Roles, and Event Platform.

AI-written summary · about

  1. 0:00Introduction
  2. 0:41Limitations of Drupal RO
  3. 7:07Access Policy API overview
  4. 9:13How Drupal builds permissions
  5. 14:50Demo: Contest winners
  6. 20:05Demo: Security training
  7. 26:25Concluding thoughts
  8. 33:52Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.