[Feature Request]: Apply Middlewares via Resource Groups (middleware-manager discussion #41)

:speech_balloon: GitHub discussion middleware-manager #41 in Feature Request, started by radh21301 on GitHub

I manage multiple websites and many use the same middlewares with identical priority settings. Currently, I have to open each resource individually and assign those middlewares manually. This process is repetitive and inefficient.

It would be much more convenient if I could group related resources (e.g., by domain, purpose, etc.) and apply a set of middlewares to the entire group. This way, I could manage middleware assignments in one place and ensure consistency across resources.

Additionally, if I ever need to update or reorder middleware priorities, I could simply modify the group’s settings, and all associated resources would reflect the changes automatically. This would save time, reduce human error, and improve maintainability—especially in environments with many services.

One of the resource group can be set as default. So, any resource added in pangolin is added to this by default. This ensures that no newly added resource will be without any protection/middleware assigned.


:speech_balloon: Join in here or on GitHub.

hhftechnology commented on GitHub:

will try to get this in V4. i am working on pangolin bot and few other plugins