Skip to content

Limiting access to only tenants interfaces #18131

Discussion options

You must be logged in to vote

Interfaces always belong to a device, and a device belongs to a tenant. Therefore, try:

[{"device__tenant_id": 1}]

as a constraint on the interfaces. (Note the double-underscore)

(If you had a single device serving multiple tenants, then that wouldn't work of course)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by indy-independence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants