Exposing Role.scope to the frontend