Relation ACL

Categories

Component ID

1863172

Component name

Relation ACL

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Use Relations within your site to generate node access controls. The rules for how to traverse a relation graph (as well as traversing between relations) are stored as CTools exports so it should be reasonably reusable.

Note: There's still one part that is hard-coded to our specific use case. Odds are that two of the code paths for traversal can be simplified into one set of functions. Patches welcome!