Repository navigation
Identity v3: Users Get / List - #288
Conversation
ac67a98 to
2cf2061
Compare
|
@jrperritt Ready for review |
|
Found a missing field while working on Create. That's all of them now. |
|
Nope. Something is strange here. Making WIP for now. |
|
@jrperritt Looks like Keystone also supports an arbitrary number of properties like Glance does in #260. There's little documentation on this, but search for "email" here and note this The second link is noteworthy because it seems Keystone will add them to the general top-level JSON structure and, in some cases, also bundle them in an So while I was trying to avoid #260, I ended up having to solve it anyway. No doubt the solution I came up with in the latest commit isn't the cleanest way of doing this. Can you take a look when you have time? |
|
@jrperritt The In the case of this PR, |
I think that way is correct. That functionality would seem appropriate to put in a utility file in the
Ah, I didn't realize that.
Other ideas: |
|
@jtopjian Was this just waiting on |
|
@jrperritt Yeah, I'll be working on this this week. |
8c6fd3a to
04cbe18
Compare
04cbe18 to
6c1b72f
Compare
|
@jrperritt This is ready for review. I'm not sure what happened, but somewhere along the way my branch got mangled. Since I had to rebase, I figure I'd squash the commits. I reviewed everything today and even found a new user attribute of |
| Enabled *bool `q:"enabled"` | ||
|
|
||
| // IdpID filters the response by an Identity Provider ID. | ||
| IdPID string `q:"enabled"` |
| } | ||
|
|
||
| // GetOpts allows you to modify the details included in the Get request. | ||
| type GetOpts struct{} |
There was a problem hiding this comment.
What are the options here?
There was a problem hiding this comment.
There aren't any. This is only to satisfy the ToUserGetQuery method for possible extension. Should this be removed altogether?
There was a problem hiding this comment.
I don't think any of the other services offer this. I'm trying to think of what options could even by provided considering the ID uniquely identifies the user.
There was a problem hiding this comment.
I agree. I did the same for Projects, but in hindsight, I have no idea why. I must have had a reason or known of some customization in the wild.
I'm OK with removing this and adding it later if it comes up.
|
This one looks good to me. We'll probably want to remove the |
|
Thanks! I'll submit a PR for |
* Identity v3: Users Get / List * Identity v3: Users Get / List unit tests * Identity v3: Users Get / List acceptance tests * Identity v3: Users code review updates
For #287