I have several projects in CakePHP, and would like to move common code into plugins and use seperate GIT repositories for those.
For example, I created a UserManager plugin which contains MVC for users, groups and permissions.
My problem is: the different projects have different (additional) relations to the models from the plugin. E.g., one project should have "User belongsTo Location" in addition.
I'm now confused how to set this up properly. The manual tells how to override Plugin views, but not how this is done with models and controllers.
How can this be done in a clean way?