go-loose/internal/behaviour
Daniel Noulet 49ab89ae46 refactor: keep tenant applications out of the administrator's reach
Claiming the system administrator role no longer grants access to every
application in the installation. Owning a tenant is what lets an administrator
administer it; entering the applications running inside it is a separate,
explicit grant that can be withdrawn again. Handing it out at claim time gave
every installation a standing administrator account inside every customer
application, which is the opposite of the boundary this product draws.

The behaviour suite now covers single sign-on between applications directly: a
second application on the same tenant must receive a code and identify the same
person with no sign-in page in between, once Go Loose already holds a session.

Also adds theme-token tests against the shared styling contract and store
coverage for application grants, and drops the redundant server and security
scheme declarations from the published specification.
2026-10-05 21:48:05 +02:00
..
application_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
clientlogin_test.go refactor: keep tenant applications out of the administrator's reach 2026-10-05 21:48:05 +02:00
contract_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
harness_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
journey_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
membership_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
persistence_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
profile_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
role_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
security_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00
tenant_test.go test: drive the whole application over HTTP, and serialise migrations 2026-10-05 19:37:09 +02:00