Skip to content

Commit

Permalink
chore(grant): set default owner to empty instead of "system" (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatrhd authored Feb 7, 2023
1 parent d4922f9 commit 2db7c75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion core/grant/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ func (s *ServiceTestSuite) TestImportFromProvider() {
Status: domain.GrantStatusActive,
StatusInProvider: domain.GrantStatusActive,
Source: domain.GrantSourceImport,
Owner: domain.SystemActorName,
},
},
},
Expand Down
1 change: 0 additions & 1 deletion domain/grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ func (ae AccessEntry) ToGrant(resource Resource) Grant {
StatusInProvider: GrantStatusActive,
AccountID: ae.AccountID,
AccountType: ae.AccountType,
Owner: SystemActorName,
Role: ae.Permission,
Permissions: []string{ae.Permission},
Source: GrantSourceImport,
Expand Down

0 comments on commit 2db7c75

Please sign in to comment.