Update the privacy handling for the rows to be more dynamic and support more than just private or public rolls
This commit is contained in:
parent
f66510c811
commit
6dbc0a817f
9 changed files with 103 additions and 57 deletions
|
|
@ -5,8 +5,8 @@ import { TableManager } from "./Apps/TableManager.mjs";
|
|||
import { TestApp } from "./Apps/TestApp.mjs";
|
||||
|
||||
// Utils
|
||||
import { filterPrivateRows, PrivacyMode } from "./utils/privacy.mjs";
|
||||
import { validateBucketConfig, validateValue } from "./utils/buckets.mjs";
|
||||
import { filterPrivateRows } from "./utils/privacy.mjs";
|
||||
|
||||
const { deepFreeze } = foundry.utils;
|
||||
|
||||
|
|
@ -26,6 +26,9 @@ Object.defineProperty(
|
|||
validateValue,
|
||||
validateBucketConfig,
|
||||
},
|
||||
enums: {
|
||||
PrivacyMode,
|
||||
},
|
||||
}),
|
||||
writable: false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue