views:

20

answers:

0

So I have a DataForm in my WCF RIA Services application. I want all authenticated users to be able to cycle through the data. I want people of role Edit to be able to Edit and Add entries and people with role Delete to be able to delete entries.

I'm unsure how to accomplish this. The best I can think of is in the initialization to check the user roles and change the CommandButtonVisibility attribute.

Any other ideas (or confirmation of my idea as a good idea) is appreciated!