Skip to content

Commit

Permalink
add EventType to AuthRelationshipRequest
Browse files Browse the repository at this point in the history
Signed-off-by: E Camden Fisher <efisher@equinix.com>
  • Loading branch information
fishnix committed Jul 18, 2023
1 parent 5b27fe4 commit 5e4273f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions events/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ type EventMessage struct {
// AuthRelationshipRequest contains the data structure expected to be used to write or delete
// an auth relationship from PermissionsAPI
type AuthRelationshipRequest struct {
// EventType describes the type of event that has triggered this message
EventType string `json:"eventType"`
// ObjectID is the PrefixedID of the object the permissions will be granted on
ObjectID gidx.PrefixedID `json:"objectID"`
// RelationshipName is the relationship being created on the object for the subject
Expand Down

0 comments on commit 5e4273f

Please sign in to comment.