Files
query-orchestration/cmd/cognito_test/permit.harness
Jay Brown daf4d4b94b Merged in feature/permit-io-demo (pull request #144)
draft pr for the test demo harness for permit.io

* harness working

for permit.io demo

* user is const

* aws profile

* permit import code

for research

* cleanup

* create user tool poc

* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/permit-io-demo

* tests for user creation

* add audit logs

and dry-run

* add tests

sanity check the requested roles

* update docs for delete

* disable/enable users

and test

* more tests

and make user name required only for create operations

* clean up

* add docs

* aws tag tests

* audit -> slog

* attempt build fix devbox

* edit

* just devbox

* remove lock change for merge

* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/permit-io-demo
2025-06-13 19:42:24 +00:00
..

running the demo

start the permit.io serice ./demo.sh

run the go harness

./run.main.sh

load the main page

load this page and select your actions to test permissions http://localhost:4000/

edit the permissions

go to the permissions editor and change rights then re-try on the harness https://app.permit.io/policy-editor

example jwt token

See the jwt.json file to see the contents of a typical bearer jwt token (decrypted) to see how the subject (sub) id is identified.