Skip to content

Commit

Permalink
Update role.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tcsc authored Dec 5, 2024
1 parent 8ecf2cd commit 7bed34c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/types/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -2300,6 +2300,7 @@ func (m CreateDatabaseUserMode) IsEnabled() bool {
return m != CreateDatabaseUserMode_DB_USER_MODE_UNSPECIFIED && m != CreateDatabaseUserMode_DB_USER_MODE_OFF
}

// GetAccount fetches the Account ID from a Role Condition Account Assignment
func (a IdentityCenterAccountAssignment) GetAccount() string {
return a.Account
}

0 comments on commit 7bed34c

Please sign in to comment.