(ctx *gin.Context, conf *model.PluginConf)
| 404 | } |
| 405 | |
| 406 | func isPluginOwner(ctx *gin.Context, conf *model.PluginConf) bool { |
| 407 | return conf.UserID == auth.GetUserID(ctx) |
| 408 | } |
| 409 | |
| 410 | func supportOrAbort(ctx *gin.Context, instance compat.PluginInstance, module compat.Capability) (aborted bool) { |
| 411 | if compat.HasSupport(instance, module) { |
no test coverage detected
searching dependent graphs…