hledger/hledger-web/templates
Simon Michael 95d33f20f6 imp:web: access control UX cleanups (fix #834)
Changes:

1. rename the sandstorm "manage" permission to "edit"
(old permission names: view, add, manage;
 new permission names: view, add, edit).

Rationale: "edit" best describes this permission's current powers, to users and to operators.
If we ever added more manager-type features we'd want that to be a new permission,
not a rename of the existing one (which would change the powers of existing users).

2. rename the sandstorm roles for consistency with permissions
(old role names: viewer, editor, manager;
 new role names: viewer, adder, editor)

Rationale: it's needed to avoid confusion.

3. add a new option: --allow=view|add|edit|sandstorm (default: add).
'sandstorm' sets permissions according to the X-Sandstorm-Permissions header.
Drop the --capabilities and --capabilities-header options.

Rationale: it's simpler and more intuitive.

4. replace "capability" with "permission" in ui/docs/code.

Rationale: consistent with the above, more familiar.
2023-10-24 13:37:36 +01:00
..
add-form.hamlet fix: web: add form's typeahead now shows non-ascii text correctly (#1961) 2022-12-16 12:48:42 -10:00
balance-report.hamlet dev: web: refactor: ViewData q, m -> qparam, q 2023-05-01 13:23:33 -10:00
chart.hamlet fix: web: register chart with multiple commodities/prices, broken in 1.22 (#1597) 2021-07-12 19:02:38 -10:00
default-layout-wrapper.hamlet web: Add yesod-form-generated AddForm, add GET & POST /add 2018-06-24 14:13:04 +02:00
default-layout.hamlet imp:web: access control UX cleanups (fix #834) 2023-10-24 13:37:36 +01:00
edit-form.hamlet fix:web:edit form: fix broken "File format help" link (fix #2103) 2023-10-21 03:36:04 +01:00
journal.hamlet imp:web: access control UX cleanups (fix #834) 2023-10-24 13:37:36 +01:00
manage.hamlet imp: web: add form: layout improvements, use available space 2022-08-27 12:12:57 +01:00
register.hamlet imp:web: access control UX cleanups (fix #834) 2023-10-24 13:37:36 +01:00
upload-form.hamlet web: Add /manage page, implement /edit, /upload, and /download 2018-06-24 14:13:04 +02:00