The JVM half of wagoe upgrade authorization: the steps that need the
app's database and routes. The Babashka half edits config.edn and calls
clojure -M -m wagoe.user.shell.cli-entry.authorization-upgrade <app>.system-config <step>
check: what the first start of this version will move, who holds which
legacy role, the routes no rule covers. Builds the routes without the
rights migration or boot migrations, so it moves no rights.prepare: runs the migrations and the rights migration, then prints what
each user holds and where :enforce differs from :off.report: those differences again. Exits 2 while any would refuse.The JVM half of `wagoe upgrade authorization`: the steps that need the app's database and routes. The Babashka half edits config.edn and calls clojure -M -m wagoe.user.shell.cli-entry.authorization-upgrade <app>.system-config <step> - `check`: what the first start of this version will move, who holds which legacy role, the routes no rule covers. Builds the routes without the rights migration or boot migrations, so it moves no rights. - `prepare`: runs the migrations and the rights migration, then prints what each user holds and where `:enforce` differs from `:off`. - `report`: those differences again. Exits 2 while any would refuse.
Ends the process with code; rebound in tests.
Ends the process with `code`; rebound in tests.
(run-step ig-config step)Runs step against the app config ig-config; the exit code.
Runs `step` against the app config `ig-config`; the exit code.
(users-with-rights registry group-svc user-repo)(users-with-rights registry group-svc user-repo rights?)Every active user of user-repo as core.authorization-upgrade reads one,
with the rights group-svc gives them now, or none without rights?.
Every active user of `user-repo` as `core.authorization-upgrade` reads one, with the rights `group-svc` gives them now, or none without `rights?`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |