mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Support for $ syntax in ACL rules
Summary: Adding support for the "$" syntax in ACL rules. Test Plan: Updated Reviewers: georgegevoian, dsagal Reviewed By: georgegevoian, dsagal Differential Revision: https://phab.getgrist.com/D3692
This commit is contained in:
@@ -1155,6 +1155,7 @@ class ObsRulePart extends Disposable {
|
||||
private _completions = Computed.create<string[]>(this, (use) => [
|
||||
...use(this._ruleSet.accessRules.userAttrChoices).map(opt => opt.value),
|
||||
...this._ruleSet.getValidColIds().map(colId => `rec.${colId}`),
|
||||
...this._ruleSet.getValidColIds().map(colId => `$${colId}`),
|
||||
...this._ruleSet.getValidColIds().map(colId => `newRec.${colId}`),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user