Files
dc/client/src/app/editor/models/editor-restrictions.model.ts
Mihajlo Medjedovic cd3e0f614b
Some checks failed
Build / Build-and-ng-test (pull_request) Failing after 23s
chore: adding comments part 3
2023-08-04 12:05:00 +02:00

12 lines
603 B
TypeScript

/**
* Editor restrictions model (based on the licencing)
*/
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
}