src/app/editor/models/editor-restrictions.model.ts
Editor restrictions model (based on the licencing)
Properties |
|
| removeAddRecordButton |
removeAddRecordButton:
|
Type : boolean
|
| Optional |
| removeEditRecordButton |
removeEditRecordButton:
|
Type : boolean
|
| Optional |
| restrictAddRecord |
restrictAddRecord:
|
Type : boolean
|
| Optional |
| restrictAddRow |
restrictAddRow:
|
Type : boolean
|
| Optional |
| restrictEditRecord |
restrictEditRecord:
|
Type : boolean
|
| Optional |
| restrictFileUpload |
restrictFileUpload:
|
Type : boolean
|
| Optional |
export interface EditorRestrictions {
restrictEditRecord?: boolean // Feature is locked but edit/add record buttons are visible so when user clicks he gets the `locked feature modal`
restrictAddRecord?: boolean // Same as editRecord, but for addRecord
removeAddRecordButton?: boolean // Removes the buttons in cases as such when Column Level Security is enabled
removeEditRecordButton?: boolean // Same as removeAddRecordButton
restrictAddRow?: boolean // locks add row button
restrictFileUpload?: boolean // locks file upload
}