Skip to content

Feature/core node#16

Open
d00p wants to merge 8 commits into
mainfrom
feature/core-node
Open

Feature/core node#16
d00p wants to merge 8 commits into
mainfrom
feature/core-node

Conversation

@d00p

@d00p d00p commented Jun 16, 2026

Copy link
Copy Markdown
Member

The core Node management flow is now fully protected through policies/gates and covered by PHPUnit tests, including both global and tenant-scoped Node access.

StoreNodeRequest now validates the adapter against registered adapter FQCNs, and tenant-related Node resource usage is tracked on create/delete.

Tests also cover resource limits, audit-log context, and preventing deletion of Nodes that still have assigned environments.

d00p added 8 commits June 15, 2026 20:40
Extend nodes with tenant ownership and introduce a node_tenant pivot with
inheritable assignments. Add tenant-scoped node API routes, policy checks, and
creation flows for /api/tenants/{tenant}/nodes while allowing global admins to
create tenant-owned nodes via /api/nodes.

Also enforce the single Local node invariant, adjust single-node UI redirects,
and add coverage using a fake non-local test adapter.

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
…tion, clear latestGuid/nextGuid semantics, and DB persistence only after successful provisioning.

Improve the jail creation script and add tests for tenant node authorization plus GUID skipping when system UIDs are already occupied.

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
@d00p d00p self-assigned this Jun 16, 2026
@d00p d00p requested a review from envoyr June 16, 2026 18:27
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.

1 participant