I'm trying to figure out how to assign a role to a user in Rails 4, using rolify.
My use case is:
I want to assign global roles to users who operate the app.
I want to assign scoped roles to all customers. Each customer belongs to an organisation. Any role they are assigned will be confined to the organisation they belong to.
How can I achieve this in rails? At this stage, I'm stuck with the logic of how to do this.