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,
|
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({
|
||||||
|
Loading…
Reference in New Issue
Block a user