Roles
Every member of an organization has one role:
A new
member cannot see the organization’s clusters until someone grants them an organization permission or access
to a particular cluster.
What each task needs
Holding a permission gives you the permissions in its Includes column too.
clusters.configure includes
clusters.ssh.admin because the Slurm configuration can run scripts as root on every node. clusters.ssh.admin
currently gives the same login as clusters.ssh, without sudo. None of them includes clusters.read.
These permissions apply to every cluster the organization owns. To share a single cluster or namespace instead,
owners and admins use a Kubernetes resource grant; see Access to a shared cluster.
Check your permissions
GET /me returns your user ID and your memberships:
default_org_id is absent when you belong to more than one organization. In that case, set ORG_ID to the
org_id of the organization you want, from the list above.
Then read the permissions granted to you in that organization:
owner or admin, permissions lists organization.owner or organization.admin, which include
everything else.
This response describes organization permissions. It does not list grants naming a particular cluster.
Access to a shared cluster
A Kubernetes resource grant shares one cluster, or one namespace in it, with you. You do not need to be a member of the owning organization. The grant lets you see that cluster in Platform and fetch its kubeconfig, and your Kubernetes actions are limited to its role and namespace. It does not give Slurm SSH access or access to the organization’s other clusters. List your cluster grants:CLUSTER_ID to the resource_id. If you are not a member of the owning organization, /me does not list it, so
ask the person who shared the cluster for its ORG_ID; the API calls need it. Then follow
Connect with kubectl.
A grant can expire or be revoked. The cluster then removes its Kubernetes permissions as the change reaches it,
unless another grant or organization permission still covers you. The
permissions reference explains the response fields.
Grant permissions
To grant permissions you needmembers.manage, and you must hold every permission you add. Owners and admins
qualify.
Find the member’s user ID from their email address. Any member of the organization can list its members:
clusters.kubernetes to whatever the member already has:
GET /permission-profiles lists every permission with a description, plus named sets such as Engineer
(clusters.kubernetes, clusters.read, clusters.ssh, reservations.read). See the
permissions reference.
A granted SSH or Kubernetes permission reaches running clusters on its own, and each cluster admits the member once
it has applied the change; see Connect over SSH.
Your username on clusters
Each membership carries a username, chosen when you joined the organization. On clusters it is your POSIX login name, and your home directory is/home/<username>. Read it from /me:
_, or -. It is unique
within the organization and becomes frozen when first included in a cluster’s access list. Once frozen it cannot be
changed or reused. Always use the username from ssh-access when constructing your SSH login name.