Add column access control for allowSubscribersToChooseResources and enableSmsSubscribers

This commit is contained in:
Simon Larsen 2023-12-16 20:49:33 +00:00
parent b1922ea4a9
commit 8fd03008b7
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -1050,6 +1050,11 @@ export default class StatusPage extends BaseModel {
type: ColumnType.Boolean, type: ColumnType.Boolean,
default: false, default: false,
}) })
@ColumnBillingAccessControl({
read: PlanSelect.Free,
update: PlanSelect.Growth,
create: PlanSelect.Free,
})
public allowSubscribersToChooseResources?: boolean = undefined; public allowSubscribersToChooseResources?: boolean = undefined;
@ColumnAccessControl({ @ColumnAccessControl({
@ -1082,6 +1087,11 @@ export default class StatusPage extends BaseModel {
type: ColumnType.Boolean, type: ColumnType.Boolean,
default: false, default: false,
}) })
@ColumnBillingAccessControl({
read: PlanSelect.Free,
update: PlanSelect.Growth,
create: PlanSelect.Free,
})
public enableSmsSubscribers?: boolean = undefined; public enableSmsSubscribers?: boolean = undefined;
@ColumnAccessControl({ @ColumnAccessControl({