activist-org / activist

An open-source activism platform
https://activist.org
GNU Affero General Public License v3.0
209 stars 173 forks source link

Experiment with and apply global middleware file rather than file based #903

Open andrewtavis opened 3 weeks ago

andrewtavis commented 3 weeks ago

Terms

Description

This issue would investigate and implement a file that would serve as the global middleware for the full platform. So rather than having a file based system where we put the middleware in the route that needs it, we'd instead have one file that then defines all the routes that get a specific requirement in order to access them.

Contribution

@UnknownSean8 said he had interest in this one :) Can you write in here and I'll assign? Very happy to support!