-
Notifications
You must be signed in to change notification settings - Fork 41
feat(events): org created/invited #1634
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
Conversation
javirln
left a comment
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.
Small comment
| } | ||
|
|
||
| // user got invited to the organization | ||
| type OrgUserInvited struct { |
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.
Can we place here who invited the user as well?
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.
it is the actor, see the description of the evetn
| TargetID() *uuid.UUID | ||
| // Description returns a templatable string, see the DescriptionVariables struct. | ||
| Description() string | ||
| RequiresActor() bool |
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.
Ah ok I haven't seen this!
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
e0ce3d1 to
35d5dd2
Compare
new set of events for org management
This PR also adds some logic to allow
event publishersto define if the event must contain actor or not. That way the system will not send events that do not have the full contextrefs #1628