plugins/identity/app/services/service_layer/identity_services/user.rb
# Users who have the role cloud_resource_admin in ccadmin/cloud_admin
Users who have the role cloud_resource_admin in ccadmin/cloud_admin
Users who have the role cloud_resource_admin in ccadmin / cloud_admin
def list_cloud_resource_admins
        domain = domains(name: Rails.configuration.cloud_admin_domain).first
        return [] unless domain
        project = projects(domain_id: domain.id,
                           name: Rails.configuration.cloud_admin_project).first
        return [] unless project
        list_scope_resource_admins({project_id: project.id}, 'cloud_resource_admin')
      end
def list_cloud_resource_admins domain = domains ( name : Rails . configuration . cloud_admin_domain ) . first return [ ] unless domain project = projects ( domain_id : domain . id , name : Rails . configuration . cloud_admin_project ) . first return [ ] unless project list_scope_resource_admins ( { project_id : project . id } , 'cloud_resource_admin' ) end
Users who have the role cloud_resource_admin in ccadmin/cloud_admin
Users who have the role cloud_resource_admin in ccadmin / cloud_admin