to completely replace the need for adding new cgi scripts, plugins need to be able to specify that a restHandler can be called without auth, or that if there is no auth, that the user will be redirected to login..
the default registration should continue to require auth -
not via apache auth, but selectivly, as for view in an DENYVIEW context, to add authless operation a plugin author has to do so intentionally.
--
TWiki:Main/SvenDowideit
- 20 Aug 2008
Can you describe a use case where you'd like to implement a REST handler where auth would be a problem.
--
TWiki:Main.MichaelDaum
- 21 Aug 2008
yup. any get operation on a data item that is open to
TWikiGuest.
such as a query for 'this month's appointments' in JSON form.
worse, in the current implementation, any rest query made as the first contact from an external 'app' will result in a 401 error - no pointer to the auth url, no possibilities for refunds, nothing.
nother use case - replace the
kinosearch
cgi script with a handler - search should not necessarily require previous auth - unless its being done on restricted content.
--
TWiki:Main.SvenDowideit
- 21 Aug 2008