Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetchRoles field added
Browse files Browse the repository at this point in the history
yahya.hindioglu committed Jan 21, 2025
1 parent 77d3ec8 commit c5556f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models.go
Original file line number Diff line number Diff line change
@@ -590,7 +590,8 @@ type PolicyRepresentation struct {

// RolePolicyRepresentation represents role based policies
type RolePolicyRepresentation struct {
Roles *[]RoleDefinition `json:"roles,omitempty"`
FetchRoles *bool `json:"fetchRoles,omitempty"`
Roles *[]RoleDefinition `json:"roles,omitempty"`
}

// JSPolicyRepresentation represents js based policies

0 comments on commit c5556f4

Please sign in to comment.