mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
Add column access control for allowSubscribersToChooseResources and enableSmsSubscribers
This commit is contained in:
parent
b1922ea4a9
commit
8fd03008b7
@ -1050,6 +1050,11 @@ export default class StatusPage extends BaseModel {
|
||||
type: ColumnType.Boolean,
|
||||
default: false,
|
||||
})
|
||||
@ColumnBillingAccessControl({
|
||||
read: PlanSelect.Free,
|
||||
update: PlanSelect.Growth,
|
||||
create: PlanSelect.Free,
|
||||
})
|
||||
public allowSubscribersToChooseResources?: boolean = undefined;
|
||||
|
||||
@ColumnAccessControl({
|
||||
@ -1082,6 +1087,11 @@ export default class StatusPage extends BaseModel {
|
||||
type: ColumnType.Boolean,
|
||||
default: false,
|
||||
})
|
||||
@ColumnBillingAccessControl({
|
||||
read: PlanSelect.Free,
|
||||
update: PlanSelect.Growth,
|
||||
create: PlanSelect.Free,
|
||||
})
|
||||
public enableSmsSubscribers?: boolean = undefined;
|
||||
|
||||
@ColumnAccessControl({
|
||||
|
Loading…
Reference in New Issue
Block a user