Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RBAC #678

Merged
merged 4 commits into from
Jan 24, 2025
Merged

RBAC #678

merged 4 commits into from
Jan 24, 2025

Conversation

cvaroqui
Copy link
Member

No description provided.

In doubt, be restrictive.
Following patches will add finer grained permissions.
To all publish calls that set a "path" label already.
Now we can filter by namespace:

	$ om node events --filter namespace=test -o yaml
	at: "2025-01-23T15:58:03.243878075+01:00"
	data:
	  instance_monitor_update:
	    global_expect: frozen
	    global_expect_options: null
	    local_expect: null
	    orchestration_id: d9fed2b5-0f84-4442-a06b-335316a54c9a
	    state: null
	  labels:
	    namespace: test
	    origin: api
	    path: test/svc/svc1
	  node: dev2n1
	  path: test/svc/svc1
	id: 0
	kind: SetInstanceMonitor
	---
Deliver an event with a namespace label only if the user is at
least guest on the namespace.
@cgalibern cgalibern requested review from cgalibern and removed request for cgalibern January 23, 2025 22:25
Instead of doing that for every event.
@cgalibern cgalibern merged commit c62306b into opensvc:main Jan 24, 2025
1 check passed
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.

2 participants