Following #39862 I wonder: wouldn't it be neater to add a dedicated proxy method to Redmine::Plugin
(something like Redmine::Plugin#attachment_object_type
) for Redmine::Acts::Attachable::ObjectTypeConstraint.register_object_type
?
This way plugin authors don't have to reach into Redmine core internals when implementing AAA for their own plugin models themselves. How do other people think about this?
↧
Feature #39948 (New): Add Redmine::Plugin proxy method for Redmine::Acts::Attachable::ObjectTypeC...
↧