major fixes
This commit is contained in:
@@ -50,6 +50,11 @@ type Capabilities struct {
|
||||
DisabledFeatures []string `json:"disabled_features"`
|
||||
FeatureETag string `json:"feature_etag"`
|
||||
Entitlements Entitlements `json:"entitlements"`
|
||||
// MemberRestricted is true when the company owner narrowed this member's access.
|
||||
// MemberDeniedFeatures lists the keys the plan allows but the member overlay denies,
|
||||
// so the UI can say "ask your administrator" instead of "upgrade your plan".
|
||||
MemberRestricted bool `json:"member_restricted,omitempty"`
|
||||
MemberDeniedFeatures []string `json:"member_denied_features,omitempty"`
|
||||
}
|
||||
|
||||
// FeatureGatesUpdate is the PUT /api/admin/feature-gates body.
|
||||
|
||||
Reference in New Issue
Block a user