Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294572

[Meta, Plan] Pitch-Burgh: Policy based access in core

$
0
0

Problem/Motivation

This is the meta-issue for fulfillment of deliverables for the winning "Pitch-Burgh" proposal shown here. It will be updated as subtasks are identified/completed.

Completed tasks

Remaining tasks

Here it's important to note that the pitch was about getting policy based access into core, but I've been asked to first focus on getting this to work in contrib so that if core maintainers aren't immediately ready to commit my work, we still have something finished in the end. As such, I'd like to explore expanding Flexible Permissions with a new module that adds the system to core from the outside. This may be harder and cost more time, though.

  • Create a new module that depends on Flexible Permissions
  • In said module, swap out the permission checker with one that leverages FP using a new "Drupal" scope
  • Also swap out the user.permissions cache context to integrate the new calculated permissions
  • Write two calculators to replace core's permission layer: UID1 and role-based permissions

If we have time left after this, it would be great if we could also focus on converting FP into core code and copy the code from the new module into core as well. Minus the swapping out services then, of course, as we'd have access to directly replace them.


Viewing all articles
Browse latest Browse all 294572

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>