gristlabs_grist-core/app/client/aclui
Dmitry S 3f29baaded (core) Add a button and a tooltip to Access Rules page item, in View-As mode.
Summary:
- When in View-As mode, clicking the Access Rules page now shows a tooltip
  with a link to return to normal mode and open the Access Rules page.
- A "revert" button is shown next to the item with the same behavior.
- Implemented hoverTooltip() with various options. (It will have other uses.)
- Simplify creation of links based on UrlState:
  - Allow merging with previous urlState using a function
  - Add a helper function to merge in aclAsUser parameter.
  - Add setHref() method to UrlState

Test Plan:
Added test cases:
  - for tooltips generally in test/projects
  - for updating UrlState using a callback
  - for Access Rules tooltip and button behavior

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2749
2021-03-08 16:08:21 -05:00
..
AccessRules.ts (core) allow multiple rule sets for overlapping columns if they are all allows or all denies 2021-03-04 11:22:09 -05: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) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
ACLSelect.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
ACLUsers.ts (core) Add a button and a tooltip to Access Rules page item, in View-As mode. 2021-03-08 16:08:21 -05:00
PermissionsWidget.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00