restfulobjects / restfulobjects-spec

The Restful Objects specification defines a set of RESTful resources, and corresponding JSON representations, for accessing and manipulating a domain object model.
http://restfulobjects.org
73 stars 10 forks source link

v1.1.0 - B7 - Domain Services Resource - filtered based on user's permissions #24

Open runrightfast opened 10 years ago

runrightfast commented 10 years ago

Should the list of available services that are returned be filtered based on the user's permissions? I believe they should be because no links should be returned that are not accessible based on the user's permissions.

If the answer is yes, then the caching headers should be short-term. I would recommend using USER_INFO because the list of available services are specific to the user.