Can we elevate the SVM scope custom role to access the cluster scope API "/api/cluster"?
Applies to
ONTAP 9
Answer
We can't give a data SVM role any permissions for the /api/cluster/* endpoints. These endpoints are for cluster-wide roles, which are only recognized for roles managed by the admin SVM.
Additional Information
Since version 9.11.1, the REST RBAC model allows users to create roles, assign privileges to API paths, and use the /api/cluster permission. However, whether the role is for the entire cluster or a specific data SVM determines which endpoints can be accessed.
Overview of RBAC security with the ONTAP REST API
Overview of RBAC security with the ONTAP REST API
