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

minimum viable change to enable delegated managers #399

Closed
wants to merge 1 commit into from

Conversation

ozzyjohnson
Copy link

As stated in the comments...

// Needed a way to allow OrgManagers to set and unset space roles
// as the UAA call here fails for non-admins. Seems like this would
// be better handled with a /v2/users that returns a combined collection 
// of users for the caller's orgs, but this works.

TODO: Tests.

@cfdreddbot
Copy link

Hey ozzyjohnson!

Thanks for submitting this pull request!

All pull request authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate).

When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization.

@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/91778996.

@ozzyjohnson
Copy link
Author

Wrong target.

@ozzyjohnson ozzyjohnson closed this Apr 3, 2015
usernameFilter := neturl.QueryEscape(fmt.Sprintf(`userName Eq "%s"`, username))
path := fmt.Sprintf("%s/Users?attributes=id,userName&filter=%s", uaaEndpoint, usernameFilter)
users, apiErr := repo.updateOrFindUsersWithUAAPath([]models.UserFields{}, path)
// var myGUID string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we leaving what seems to be debugging code as comments?

XenoPhex pushed a commit that referenced this pull request Feb 10, 2018
- added some additional tests
- added additional logs for debugging

[Fixes #155060885] (Github Issue #399)

Signed-off-by: Anand Gaitonde <agaitonde@pivotal.io>
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

Successfully merging this pull request may close these issues.

4 participants