Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually run authz tests #2165

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Actually run authz tests #2165

merged 1 commit into from
Jan 22, 2024

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Jan 22, 2024

The authz tests we had were actually not issuing an error because the
fga command outputted the "Usage" and failed silently. It turned out
not to be trivial to run the command from our tests, so I ended up
adding the fga CLI installation to the bootstrap target, adding a
Makefile target and creating a CI job out of it.

The authz directory was moved into internal/authz/model in as a
cleanup. But also, we'll eventually embed the model in the go server as
part of the migration.

@JAORMX JAORMX requested a review from a team as a code owner January 22, 2024 11:20
@JAORMX JAORMX force-pushed the authz-tests branch 3 times, most recently from 7dc4289 to b5ea2e5 Compare January 22, 2024 11:24
The authz tests we had were actually not issuing an error because the
`fga` command outputted the "Usage" and failed silently. It turned out
not to be trivial to run the command from our tests, so I ended up
adding the `fga` CLI installation to the bootstrap target, adding a
Makefile target and creating a CI job out of it.

The `authz` directory was moved into `internal/authz/model` in as a
cleanup. But also, we'll eventually embed the model in the go server as
part of the migration.
@JAORMX JAORMX merged commit 3f486ed into main Jan 22, 2024
18 checks passed
@JAORMX JAORMX deleted the authz-tests branch January 22, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants