Hi, 
I need to secure some resources and separate the methods. 
Example:
users/1/wall 
GET for everyone
POST only for user 1

users/1/privatemessages
GET only for user 1

i've been reading for a while documentation and found out that you can
override the dohandle method of the guard for each guard but not for each
location. 
Do i need to create a guard for each route? 

and 2nd question:
When you authenticate with a user and a password it seems to cache the
authorization so i get access to every resource. Example:
GET users/1/privatemessages
Asks for username and pass
Then i do
GET users/2/privatemessages and i get the resource.
I would like to authorize every call but dont know how.

Thanks for your help!
Gonza
-- 
View this message in context: 
http://n2.nabble.com/Guard-access-tp3849696p3849696.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2409001

Reply via email to