Bug fixes for Repositories in Groups. Added use of Roles on Repositories