fix(page-data): isolate owner API from public pages
This commit is contained in:
@@ -24,7 +24,9 @@ export function normalizePolicyDataset(name, raw) {
|
||||
insert: Boolean(raw.insert),
|
||||
update: Boolean(raw.update),
|
||||
softDelete: Boolean(raw.softDelete ?? raw.soft_delete),
|
||||
hardDelete: Boolean(raw.hardDelete ?? raw.hard_delete),
|
||||
// `delete` is the page-facing spelling for an intentional permanent PG
|
||||
// delete; retain hardDelete for existing policies.
|
||||
hardDelete: Boolean(raw.hardDelete ?? raw.hard_delete ?? raw.delete),
|
||||
columns: normalizedColumns,
|
||||
limits:
|
||||
raw.limits && typeof raw.limits === 'object'
|
||||
|
||||
Reference in New Issue
Block a user