Sim
Well-known member
I wrote an addon which provides an integration point for my (multiple) forums with my helpdesk system - essentially a simply API I can call remotely and perform user lookups against a forum based on things like the email address that the helpdesk request came from.
The way I implemented this addon in XenForo was using a route prefix which called a public controller and then responded using a public view which returned the data as JSON.
Now this works perfectly for most of my sites - but I have one private site I run for a client of mine, and the permissions on that site are such that unregistered users are explicitly denied access to pretty much everything.
So now I get permission errors when trying to access my route prefix for my private site.
What permissions would be required for an unregistered user to access the site via my route prefix? "View"?
Is there a way to bypass the permissions on a single route?
The way I implemented this addon in XenForo was using a route prefix which called a public controller and then responded using a public view which returned the data as JSON.
Now this works perfectly for most of my sites - but I have one private site I run for a client of mine, and the permissions on that site are such that unregistered users are explicitly denied access to pretty much everything.
So now I get permission errors when trying to access my route prefix for my private site.
What permissions would be required for an unregistered user to access the site via my route prefix? "View"?
Is there a way to bypass the permissions on a single route?