Le 2012-05-04 à 12:00, Andries Brink a écrit : > Hello Wonder! > > Any ideas on getting only contextual data back based on user preferences > using ERRest controllers? i.e. I want to only display a list of products that > a user can transact on based on his credentials. So, User.party.products > should be returned. I would imagine the place to throttle the Rest response > would be in the ERXFilter inside the controller?
Key filters is only to determine which attributes and relationships are going to be send back or accepted in requests. To filter which objects they will get, you need to do the appropriate fetches based on the user. _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
