-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Priority Clarification #176
Comments
That's correct. The plugin priority feature was based on the (removed) ELL plugin API. |
Couldn't it also be used for defining the event receiving order for the functions that use At first this probably appears that would do the same thing, but if with it, higher priority plugins could also control if the events should also be processed by lower priority plugins would simplify the development of a lot of plugins. An example where this would be very useful is when developing/using a security focused plugin. Currently this type of plugins have to be massive, that do everything, from the security check to configuring endpoints. This make them most of the times useless or hard to use since they can't be used together with other plugins. However, if the events would go from the higher priority to the lower priority plugins, and if plugins could control if this flux of events should continue to lower priority plugins, security focused plugins (or any other type of plugins that suffer the same problem) would easily integrate with others plugins, as with the It could also be interesting if plugins could send/forward events to lower priority events. This would be very useful when a plugin doesn't have enough information or it's still not ready to take a decision, it could buffer them and when it can take the decision it could also forward the buffered events to the lower priority plugins. |
I should probably open a new issue with this. |
Hello,
What is exactly the purpose of the priority in the plugins?
By looking at the source code, more precisely at
lib/plugins.c
, the only thing it seems to be used for is to specify the initialization order of the plugins, is this right?The text was updated successfully, but these errors were encountered: