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

Users cannot create Apikeys. #1163

Closed
hibooboo2 opened this issue Jun 11, 2015 · 3 comments
Closed

Users cannot create Apikeys. #1163

hibooboo2 opened this issue Jun 11, 2015 · 3 comments
Assignees
Labels
kind/bug Issues that are defects reported by users or that we know have reached a real release

Comments

@hibooboo2
Copy link

Users cannot create an api key for their account in the api. Admin can, users cannot.

To duplicate, make an account, then create an apikey for that account. Now use that apikey to auth as that user and try to make an apikey you cannot. you get a 405.

@deniseschannon deniseschannon added kind/bug Issues that are defects reported by users or that we know have reached a real release area/environment labels Jun 12, 2015
@hibooboo2 hibooboo2 assigned sangeethah and unassigned hibooboo2 Dec 1, 2015
@sangeethah sangeethah added this to the Milestone 12/2/2015 milestone Dec 3, 2015
@sangeethah
Copy link
Contributor

Tested with build from master - Dec 4.
Turned local auth on.
Create an account of type "user".
When logged in as this user and created apikey using http://:8080/v1/apikeys.
Able to log in to http://:8080/v1/ using the keys that was created.

@hibooboo2 , could you please confirm if these steps validate the fix provided?

@hibooboo2
Copy link
Author

That sounds correct. Just confirm that the headers that show the account id have the account id for the user that was supposed to create the apikey and not an environment unless you are using the apikey to access an environment that the user has access too.

@sangeethah
Copy link
Contributor

When I access http://:8080/v1/ using the keys that was created , I can confirm that I am logged in as the user for which the keys was created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues that are defects reported by users or that we know have reached a real release
Projects
None yet
Development

No branches or pull requests

3 participants