You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a new plugin with netbox 2.11 however I couldn't find a way to expose a view to an anonymous user or without login. The requirement that I wanted to achieve is a custom view that supports get/post for certain data which post-process and gets added/updated to models. this view is for specific clients for automation that doesn't support an auth method.
with current object permission, I have to allow the model into exempt permission or either set permission which makes it completely visible to users without a login. however, all I wanted is access to a very specific URL without auth and view attached to it should be able to render the data that I mentioned.
an example of a similar thing already exist in netbox which is Prometheus '/metrics' endpoint that doesn't require any auth
Any help in this direction to achieve this? or is this specific limitation in netbox+plugin+object-permission that it can't work ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing a new plugin with netbox 2.11 however I couldn't find a way to expose a view to an anonymous user or without login. The requirement that I wanted to achieve is a custom view that supports get/post for certain data which post-process and gets added/updated to models. this view is for specific clients for automation that doesn't support an auth method.
with current object permission, I have to allow the model into exempt permission or either set permission which makes it completely visible to users without a login. however, all I wanted is access to a very specific URL without auth and view attached to it should be able to render the data that I mentioned.
an example of a similar thing already exist in netbox which is Prometheus '/metrics' endpoint that doesn't require any auth
Any help in this direction to achieve this? or is this specific limitation in netbox+plugin+object-permission that it can't work ?
Beta Was this translation helpful? Give feedback.
All reactions