Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,18 @@ type Key struct {
type Route struct {
Key *Key `json:"key,omitempty"`
Endpoint string `json:"endpoint,omitempty"`
IsPublic *bool `json:"isPublic,omitempty"`

// If the route is publically accessible, then rest of the fields
// below are not relevant
IsPublic *bool `json:"isPublic,omitempty"`

// if route is user specific RBAC constructs are not valid, rest of
// the fields below are not relevant
IsUserSpecific *bool `json:"isUserSpecific,omitempty"`

// RBAC constructs associated with Route
ResourceName string `json:"resourceName,omitempty"`
Verb string `json:"verb,omitempty"`
}

type RouteTable struct {
Expand Down