Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
chuyich opened this issue Jan 26, 2024 · 2 comments
Open
1 task done
Assignees

Comments

@chuyich
Copy link

chuyich commented Jan 26, 2024

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

  • #7
@netapp-pcarriga
Copy link
Member

netapp-pcarriga commented Jan 31, 2024

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

@dmp-netapp
Copy link

Tracking in AUTODOC-145.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants