Skip to content

Expand RBAC role to be able to create application events. Fix username claims extraction.#479

Merged
jessesuen merged 1 commit intoargoproj:masterfrom
jessesuen:events
Jul 31, 2018
Merged

Expand RBAC role to be able to create application events. Fix username claims extraction.#479
jessesuen merged 1 commit intoargoproj:masterfrom
jessesuen:events

Conversation

@jessesuen
Copy link
Copy Markdown
Member

@jessesuen jessesuen commented Jul 31, 2018

This is partial fix to issue #478. With this change, events can now be generated. But something is still preventing the listing from API server.

Also, the way we were extracting the username field from the claims, did not work when the user was logged in via SSO.

@jessesuen jessesuen requested a review from alexmt July 31, 2018 00:47
@jessesuen
Copy link
Copy Markdown
Member Author

jessesuen commented Jul 31, 2018

But something is still preventing the listing from API server.

I determined the UI is not making the correct request. It is making a request like:

http://localhost:8080/api/v1/applications/guestbook-default/events?resourceName&resourceUID

@jessesuen
Copy link
Copy Markdown
Member Author

Nevermind the URL is expected to work. Will merge these changes and let @alexmt figure out the rest.

@jessesuen jessesuen merged commit 0029970 into argoproj:master Jul 31, 2018
leoluz added a commit to leoluz/argo-cd that referenced this pull request Sep 29, 2023
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>

Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
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.

2 participants