Skip to content
elixir-cloud-aaiPublic

About

AuthZEN decision service and conformance harness for GA4GH TES authorization

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

51 Commits

Folders and files

TES AuthZ: the tes-authzen/1 specification

License Build_status Docs

tes-authzen/1 is a specification for authorizing requests to GA4GH Task Execution Service (TES) implementations: a TES asks an external decision service, over AuthZEN 1.0, whether a caller may create, read, list or cancel tasks, so that access policy lives in one place instead of in every TES. The specification is a draft (draft 3, accepted for implementation on 2026-11-16): read it in spec/tes-authzen-1.md or on the documentation site.

The specification

A TES keeps authentication (OIDC), an owner stamped on every task, and a thin hook that asks one standard AuthZEN Access Evaluation per decision; everything that is policy lives in a decision service of the operator's choice. Without configuration, every TES behaves as today. The specification covers:

Reference tooling

Around the specification, this repository also holds reference tooling: decision services for OPA and OpenFGA behind the tes-authzen/1 endpoint (they accept tes-authzen/2 too), the shims they need, and a conformance harness that TES implementations plug into (Poiesis first, then TESK, Funnel and TESP). They show that the specification works with real engines and TES implementations; read the specification first.

Quick start

Needs Docker with Compose, uv and make:

make test     # lint, types, `opa check`, start services, all suites, stop and remove
make up       # start only (OPA front on 18190, OpenFGA shim on 18191, ...)
make down     # stop and remove containers and the state volume
make kubernetes  # deploy deploy/kubernetes/ to the current kubectl context (e.g. kind) and test it

The services are a local test setup: the engines' own APIs are published unauthenticated. Read Getting started first. To run the OPA decision service on Kubernetes, see Operators (deploy/kubernetes/).

Documentation

The documentation is at https://tes-authz.readthedocs.io (sources in docs/):

Contributing

Contributions are welcome! See the contributing guide and mind our code of conduct.

License

Apache License 2.0, copyright ELIXIR On-Cloud.

About

AuthZEN decision service and conformance harness for GA4GH TES authorization

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages