Skip to content

Commit

Permalink
add department attribute to user (#203)
Browse files Browse the repository at this point in the history
* add department attribute to user

* add integration type okta to directory
  • Loading branch information
chrnorm authored Jul 22, 2024
1 parent c29868e commit 1816d6c
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-badgers-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@common-fate/sdk": minor
---

Add Department attribute to User
5 changes: 5 additions & 0 deletions .changeset/tidy-roses-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@common-fate/sdk": minor
---

Directory: adds Okta integration type
52 changes: 28 additions & 24 deletions gen/commonfate/control/directory/v1alpha1/integration.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions gen/commonfate/control/directory/v1alpha1/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions gen/commonfate/control/directory/v1alpha1/user.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ enum IntegrationType {
INTEGRATION_TYPE_AWS_IAM_IDENTITY_CENTER = 2;
INTEGRATION_TYPE_SLACK = 3;
INTEGRATION_TYPE_PAGERDUTY = 4;
INTEGRATION_TYPE_OKTA = 5;
}
2 changes: 2 additions & 0 deletions proto/commonfate/control/directory/v1alpha1/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ message User {

// The number of groups the user belongs to.
int32 group_membership_count = 6;

string department = 7;
}

message UserAccount {
Expand Down

0 comments on commit 1816d6c

Please sign in to comment.