Bryan Frimin
a862faee39
Wire batch authorize into server APIs
...
Add authz.NewBatchAuthorizeFunc — the batch counterpart to the
existing AuthorizeFunc — together with WithBatchAttr,
WithBatchSkipAssumptionCheck, and WithBatchDryRun options. It maps the
new batch errors (mixed organization, empty batch, unsupported
resource type) to GraphQL Invalid responses, and reuses the existing
mappings for ErrAssumptionRequired / ErrInsufficientPermissions /
ErrResourceNotFound.
Plumb the new function into the Connect and Console resolvers and add
Resolver.AuthorizeBatch to the MCP resolver with equivalent error
mapping for tool callers.
Signed-off-by: Bryan Frimin <bryan@probo.com >
2026-05-23 13:31:36 -07:00
Émile Ré
9156d6a16a
Add wsl linter and fix
...
Signed-off-by: Émile Ré <emile@probo.com >
2026-05-20 09:27:28 +04:00
Sacha Al Himdani
8c02c53315
Update copyright headers across all Go files
...
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com >
2026-03-25 17:38:32 +01:00
Bryan Frimin
10eed9a6a3
Extract session directive in a dedicated package
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 12:34:24 -08:00
Émile Ré
663400c4f6
Extract cookie config into authn pkg
...
Signed-off-by: Émile Ré <emile@getprobo.com >
2026-01-17 12:34:04 -08:00
Émile Ré
1257347df9
Extract authn & authz utils
...
Signed-off-by: Émile Ré <emile@getprobo.com >
2026-01-17 12:34:03 -08:00
Émile Ré
c6094ff572
Implement organization assumption check in authorization layer
...
Signed-off-by: Émile Ré <emile@getprobo.com >
2026-01-17 12:34:01 -08:00
Bryan Frimin
5500c9e246
Fix lastSession returns 5xx with api key
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:35:52 -08:00
Bryan Frimin
41a6df9aec
Fix test login url returns 404
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:27:44 -08:00
Bryan Frimin
e0225cbbbc
Remove dead type
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:10:28 -08:00
Bryan Frimin
0f7c755d53
Rename user into identity
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:10:27 -08:00
Émile Ré
e4df37b5c8
Replug password sign in
...
Signed-off-by: Émile Ré <nemile.re@gmail.com >
2026-01-17 10:10:24 -08:00
Bryan Frimin
f72851df4d
Fix no internal error on node
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:10:24 -08:00
Bryan Frimin
393343e557
Fix lastSession always return an error
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:10:24 -08:00
Bryan Frimin
7a26473e8f
Add activeSession on membership
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:07:42 -08:00
Bryan Frimin
74fc3b8cd1
Rewrite identity and access management
...
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-01-17 10:07:34 -08:00