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

"manifest | manifest file | Can add manifest file" permission not working #24

Open
zakes-it opened this issue Jun 15, 2016 · 0 comments

Comments

@zakes-it
Copy link

User accounts that have only the "Can add manifest file" permission granted cannot create new manifest files from the API:

2016-06-15 11:42:08,924 - requests.packages.urllib3.connectionpool - DEBUG - "POST /api/manifests/clients/test-client.plist HTTP/1.1" 401 None
2016-06-15 11:42:08,929 - root - ERROR - Server returned HTTP 401 unauthorized.
2016-06-15 11:42:08,929 - root - ERROR - Server request unauthorized. Check username and password.

User accounts with only the "Can change manifest file" can create and modify new manifest files from the API:

2016-06-15 11:47:42,361 - requests.packages.urllib3.connectionpool - DEBUG - "POST /api/manifests/clients/test-client.plist HTTP/1.1" 201 None
2016-06-15 11:47:42,365 - root - DEBUG - Server post successful: {u'managed_installs': [], u'catalogs': [u'production'], u'managed_updates': [], u'included_manifests': [u'roles/single-user-system.plist'], u'optional_installs': [], u'managed_uninstalls': []}

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

1 participant