Fosi Fossil Service
Small teams. Open source. Built on Fossil.

CaaS / Lamina

Unified Management for Fossil Repositories

Public | Owner: CaaS | Default branch: trunk | Last update: 2026-10-25 00:41

Artifact 11cf0db3f13c05d47aa97e2e7816d8f11dbf55db5cfa5c687da1c0050df20a0e:


%%% Security callback for the /secure prefix. Accepts a fixed bearer token and
%%% hands back auth data so the suite can check it reaches the controller.
-module(nova_test_app_security).

-export([check/1]).

check(Req) ->
    case cowboy_req:header(<<"authorization">>, Req) of
        <<"Bearer let-me-in">> ->
            {true, #{user => <<"tester">>, role => <<"admin">>}};
        _ ->
            false
    end.

Clone

You can clone this repository with the following command:

fossil clone https://fosi.dev/CaaS/Lamina

Contribute

The best way to contribute is through e-mail. See the project documentation for more details.