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

"cf org-users" gives 403 #174

Closed
igm opened this issue May 27, 2014 · 6 comments
Closed

"cf org-users" gives 403 #174

igm opened this issue May 27, 2014 · 6 comments
Labels

Comments

@igm
Copy link

igm commented May 27, 2014

When using CF CLI to get the list of org users I get 403. I'm org manager. Tried both stable and edge releases.

$ CF_TRACE=true cf org-users <MY_ORG>
...
RESPONSE: [2014-05-27T13:06:18+01:00]
HTTP/1.1 403 Forbidden
Content-Length: 64
Cache-Control: no-store
Connection: keep-alive
Content-Type: application/json
Date: Tue, 27 May 2014 12:06:30 GMT
Pragma: no-cache
Server: Apache-Coyote/1.1

{"error":"access_denied","error_description":"Access is denied"}

ORG MANAGER
FAILED
Failed fetching org-users for role Server error, status code: 403, error code: access_denied, message: Access is denied.
ORG MANAGER
FAILED
Failed fetching org-users for role Server error, status code: 403, error code: access_denied, message: Access is denied.
ORG MANAGER

Is this expected?

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/72077266. This repo is managed by the 'CLI' team.

@igm
Copy link
Author

igm commented May 27, 2014

Related forum discussion: http://support.run.pivotal.io/entries/66543983

@maxbrunsfeld
Copy link
Contributor

@igm, can you include the full output (including the requests and responses before the one you included)?

Thanks,
CF Community Pair
Jesse and Max (@d, @maxbrunsfeld)

@igm
Copy link
Author

igm commented May 27, 2014

@lcddave
Copy link
Contributor

lcddave commented May 27, 2014

Per discussion on r.p.i support channel, the CLI is properly returning a 403 that it getting from the CC. If the desire is to enable org-users for non admins, we need to change that upstream, not in the CLI. Will close.

@MarkKropf
Copy link
Contributor

@igm I'm looking to add support for this in the future via this story: https://www.pivotaltracker.com/story/show/63345104

Right now this means adding a bunch of cc/uaa cooperation that does not currently exist. This is why we have not added this functionality yet.

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

No branches or pull requests

5 participants