In Service Studio you can expose roles owned by your eSpace to be used by a different one. In this context, eSpaces are called Producer and Consumer, respectively.
How to Expose a Role
In the Producer eSpace, set the Public property of your role to Yes and publish the eSpace. How?
Extensions are also Producers. Their roles are automatically exposed when the connected user has access rights to the Extension itself.
Use Role References | Role Properties