NetAppDocs / ontap-restapi

https://docs.netapp.com/us-en/ontap-restapi/
0 stars 0 forks source link

The privileges in API response are all in small cases but the document shows differently #6

Open chuyich opened 7 months ago

chuyich commented 7 months ago

Page URL

https://docs.netapp.com/us-en/ontap-restapi/ontap/protocols_cifs_users-and-groups_privileges_endpoint_overview.html

Page title

Protocols CIFS users-and-groups privileges endpoint overview

Summary

In the document, the example shows the privileges are ["SeChangeNotifyPrivilege", "SeTakeOwnershipPrivilege"]. But actually based on my test, the privileges are all in small cases. Here is one example of the response from calling retrieve privileges API. As you see the privileges are all in small case. But actually they should be "SeChangeNotifyPrivilege", "SeSecurityPrivilege", "SeTakeOwnershipPrivilege". Please check with the BlueXP team if they fix the API response or this document needs to be fixed. The document should match the real response. "{ "records": [ { "svm": { "uuid": "4504d99b-bd88-11ed-8c83-005056b34578", "name": "svm3", "_links": { "self": { "href": "/api/svm/svms/4504d99b-bd88-11ed-8c83-005056b34578" } } }, "name": "SVM3_SERVER\\test3", "privileges": [ "sechangenotifyprivilege", "sesecurityprivilege", "setakeownershipprivilege" ], "_links": { "self": { "href": "/api/protocols/cifs/users-and-groups/privileges/4504d99b-bd88-11ed-8c83-005056b34578/SVM3_SERVER%5Ctest3" } } } ], "num_records": 1, "_links": { "self": { "href": "/api/protocols/cifs/users-and-groups/privileges?fields=name%2Csvm.name%2Cprivileges&name=test3&svm.name=svm3" } } }"

Public issues must not contain sensitive information

netapp-pcarriga commented 7 months ago

Thank you, @chuyich, for taking time to bring this to our attention.

dmp-netapp commented 6 months ago

Tracking in AUTODOC-145.