-
Notifications
You must be signed in to change notification settings - Fork 34
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
feat: emit audit event+webhook when user is removed from a group #640
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Pull Request Test Coverage Report for Build 9464981920Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9477509847Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9477836973Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
* feat: emit audit event+webhook when user is removed from a group * emit event as soon as relation is deleted * fix: send group org id instead of platform org id in user removal event
…#646) * feat: add audit log event for group deletion * move audit event for user removal to service * emit event on disabling org * feat: emit audit event+webhook when user is removed from a group (#640) * feat: emit audit event+webhook when user is removed from a group * emit event as soon as relation is deleted * fix: send group org id instead of platform org id in user removal event * feat(admin_ui): add filter, loader and sorting to the tables (#643) * chore: update apsara version * refactor: remove loading check from column definitions * refactor: remove loading check from roles and user table * refactor: remove loading check from billing list * refactor: remove loading check from groups list * refactor: remove loading check from projects list * refactor: remove loading check from users list * refactor: remove loading check from products list * refactor: remove loading check from preferences list * refactor: remove loading check and add filter in invoices list * fix(admin_ui): type mismatch in apsara datatable (#644) * ci: set goreleaser to v1 (#645) * trigger audit event after relation and repository have both been updated --------- Co-authored-by: Rishabh Mishra <me@rsbh.dev>
We require a webhook which notifies downstream services about removal of user from groups. This PR introduces that into the service.
The reason for doing this in service is so that this event is triggered even if different handlers are used to perform this action.
The idea behind adding this instead of adding more and more information into policy events is to provide an easy to understand event to downstream services so that appropriate action can be taken by them. A few more events such as this will be introduced in subsequent PRs.