Join GitHub today
Do not override access control object when Padrino::Admin::AccessControl is registered in multiple apps #2042
Since 0.13.2 When Padrino::Admin::AccessControl registered in multiple apps, they all share the same AccessControl::Base object instance, based on app loading order.
Such behavior looks incorrect, because access rules are defined per app, and paths are being checked relative to specific app mount point.
This patch fixes this problem.