-
Notifications
You must be signed in to change notification settings - Fork 196
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
[tests-only][full-ci] adding test for creating auth-app token using user-id #10987
base: master
Are you sure you want to change the base?
Conversation
16e920f
to
8e69a5f
Compare
8e69a5f
to
fe623a9
Compare
fe623a9
to
d8361a3
Compare
d8361a3
to
2733ec0
Compare
348c7f3
to
c511739
Compare
Given the config "AUTH_APP_ENABLE_IMPERSONATION" has been set to "true" | ||
And user "Brian" has been created with default attributes | ||
When user "Brian" creates app token with user-id for user "Alice" with expiration time "72h" using the auth-app API | ||
Then the HTTP status code should be "403" | ||
|
||
@issue-11063 | ||
Scenario: non-admin user tries to creates auth-app token with user-id for an another user without impersonation enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same needs to be done for username as well. check if they exist or not.
also please update all of them in the QA ticket.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just make sure the similar test scenarios exist while using username as well
3397edf
to
d6c32e8
Compare
3d63142
to
5a9f79f
Compare
5a9f79f
to
dccdbf7
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Description
This PR adds test for creating auth-app token using user-id
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: