gristlabs_grist-core/app/client/aclui
Paul Fitzpatrick d635c97686 (core) flesh out "View As" feature
Summary:
The users shown by the "View As" button are now drawn from more sources:
 * There are users the document is shared with. This has been rationalized, the behavior was somewhat erratic. If the user is not an owner of the document, the only user of this kind that will be listed is themselves.
 * There are users mentioned in any user attribute table keyed by Email. If name and access columns are present, those are respected, otherwise name is taken from email and access is set to "editors".
 * There are example users provided if there are not many other users available.

Test Plan: added and extended tests

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3045
2021-10-08 12:00:40 -04:00
..
AccessRules.ts (core) flesh out "View As" feature 2021-10-08 12:00:40 -04:00
ACLColumnList.ts (core) Add getAclResources method for making all tables/columns available when editing ACL rules 2021-01-14 13:43:55 -05:00
ACLFormulaEditor.ts (core) Change user attribute from select to formula, especially to allow link keys 2021-05-21 12:22:55 +02:00
ACLSelect.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
ACLUsers.ts (core) flesh out "View As" feature 2021-10-08 12:00:40 -04:00
PermissionsWidget.ts (core) alert user if they try to use rec in a column rule controlling read permission 2021-03-10 11:57:09 -05:00