I've been trying to find a resolution to this, and it looks like the only resolution might be to try and create it myself.
The problem: I have OG and OG Roles. I want to create only 2 Roles and assign them to users based upon the group they are in. So, a user might be in Group A and Group B. In Group A, he would have the Member Role, but in Group B he would have the Admin Role. Well, the way OG Roles works now, if I assign the user the Admin Role in Group B, he is automatically assigned that Role in ALL groups he belongs to. NOT what I want. If I assign a role to a user in one group, I only want that user to have that role in that group. He may have another role in another group.
Needless to say, I also don't want to have a different set of roles for every group I create.
So, I'm looking for a solution. First off, if anyone has run into this and have a solution already, I'd love to hear it.
My solution: Role Profiles. It's a theory. What I would do is assign the user the Member Role profile in Group A so that he has that role only when he accesses Group A content. And, I would assign the same user the Admin Role profile in Group B so that he has that role only when he access Group B content.
My question: How would I even attempt to code something like this? I assume there is a function somewhere that checks both Group and Role access rights when accessing content. If true, my solution would be to add a fuction there to check to see if the user has a role profile for the particular group content, and if so, use that Role in this Group ONLY.