Question

Where can I intercept reads and updates for scaffolded tables? I need to make certain records or fields read only to certain people and or after a certain date? I also have a Departments list, where clicking a department brings up a list of Categories for that department. I need to block access to the Department list to normal users, and only bring up Categories for their department. How could I do that?

Was it helpful?

Solution

I would make a Custom Page for Each Entity and listen to the LinqDataSource's Selecting Event and add parameters/filter results there.

You could also add Custom FieldTemplates for additional control at the individual field level.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top