itmaybejj / editoria11y

A user-friendly automatic content accessibility checker.
https://itmaybejj.github.io/editoria11y/
Other
41 stars 8 forks source link

Enable Groups support #19

Open spydrlink opened 4 months ago

spydrlink commented 4 months ago

We're starting to use this tool on a large Drupal instance with 400+ microsites, all under the same subdomain. Each microsite is managed by a group specific that microsite (hence, 400+ owned by groups). It would great if there was an option to support groups in Drupal. In other words, as a content manager for microsite 1 and 2, I would see all of the issues on those two microsites since I'm a member of Groups 1 and 2...but I would not see any errors on microsites 3 and 4 because I'm not a member of those owned by groups.

Ideally, this would be a toggle on/off for group support.

itmaybejj commented 4 months ago

Hi spydrlink

Is this one Drupal "site," and you want groups/permission based filtering within the site, or a Drupal multisite where each microsite has its own database, and you want cross-site reporting?

The former...may be possible? The conversion to Views in 2.x would allow for path based filtering. But there is not yet an entity relationship between nodes and records, which would be needed for groups support. I MAY end up working on that piece in the next year or two, since it would also be needed to do things like sorting by when nodes were last changed.

For the latter -- I do not have near-term plans for building out cross-site reporting; Princeton has not asked for it yet, and they pay for all this. That said -- I suspect the JSON API could be configured to allow for cross-site calls, or the sites could send updates on cron.

All to say -- I'd happily review and incorporate pull requests in this direction, but I don't see myself working on it soon.

spydrlink commented 4 months ago

It's one Drupal site (one large site), not a multi-site with multiple databases. Each microsite operates as its own site within the parent, but all of the sites are interconnected, share content and media, etc. Ownerhsip/management of pages is based on "Owned By Groups" and roles within those groups. I'm not a developer, but a product manager for the site responsible for feature additions, enhancements, etc to help our content managers create better content.