gristlabs_grist-core/app/common
Paul Fitzpatrick 6af811f7ab (core) give more detailed reasons for access denied when memos are present
Summary:
With this change, if a comment is added to an ACL formula, then that comment will be offered to the user if access is denied and that rule could potentially have granted access.

The code is factored so that when access is permitted, or when partially visible tables are being filtered, there is little overhead. Comments are gathered only when an explicit denial of access.

Test Plan: added tests, updated tests

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2730
2021-02-15 17:02:24 -05:00
..
ACLPermissions.ts (core) Implement new representation of ACL rules. 2020-11-18 08:58:03 -05:00
ACLRuleCollection.ts (core) give more detailed reasons for access denied when memos are present 2021-02-15 17:02:24 -05:00
ActionBundle.ts
ActionDispatcher.ts
ActionGroup.ts
ActionRouter.ts
ActionSummary.ts
ActiveDocAPI.ts (core) Add getAclResources method for making all tables/columns available when editing ACL rules 2021-01-14 13:43:55 -05:00
ApiError.ts (core) give more detailed reasons for access denied when memos are present 2021-02-15 17:02:24 -05:00
arrayToString.ts
AsyncCreate.ts
AsyncFlow.ts
BaseAPI.ts (core) give more detailed reasons for access denied when memos are present 2021-02-15 17:02:24 -05:00
BasketClientAPI.ts
BigInt.ts
BillingAPI.ts
BinaryIndexedTree.js
BrowserSettings.ts
ColumnGetters.ts
declarations.d.ts
delay.ts
DisposableWithEvents.ts
DocActions.ts (core) implement cleaner row-level access control for outgoing messages 2020-11-30 16:28:33 -05:00
DocData.ts (core) implement cleaner row-level access control for outgoing messages 2020-11-30 16:28:33 -05:00
DocListAPI.ts (core) allow a doc owner to test access as a different user 2021-01-15 18:45:57 -05:00
DocSnapshot.ts
emails.ts
EncActionBundle.ts
ErrorWithCode.ts (core) give more detailed reasons for access denied when memos are present 2021-02-15 17:02:24 -05:00
Features.ts
Formula.ts
GranularAccessClause.ts (core) give more detailed reasons for access denied when memos are present 2021-02-15 17:02:24 -05:00
GristServerAPI.ts
gristTypes.ts (core) Improve the UI for ACL rules. 2020-12-22 13:40:52 -05:00
gristUrls.ts (core) tweak embedding to play well with forking 2021-02-04 15:02:18 -05:00
gutil.ts (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
InactivityTimer.ts
KeyedMutex.ts
KeyedOps.ts (core) start reconciling forking with granular access 2021-01-12 14:08:49 -05:00
LoginSessionAPI.ts
LoginState.ts
marshal.ts
MemBuffer.js
NumberFormat.ts
orgNameUtils.ts
parseDate.ts
plugin.ts
PluginInstance.ts
Prefs.ts
RefCountMap.ts
resetOrg.ts
roles.ts
schema.ts (core) Implement new representation of ACL rules. 2020-11-18 08:58:03 -05:00
sharing.ts
SortFunc.ts
StringUnion.ts
TableData.ts (core) hide long sequences of unchanged rows in diffs 2020-11-19 18:19:54 -05:00
TabularDiff.ts
tbind.ts
TestState.ts
timeFormat.ts
tpromisified.ts
tsconfig.json
tsvFormat.ts
uploads.ts
urlUtils.ts
UserAPI.ts (core) Add a Users dropdown to AccessRules page. 2021-01-22 09:20:40 -05:00
UserConfig.ts
ValueFormatter.ts