CSLA 4.0 Authorizer (Wpf/Xaml)

CSLA 4.0 Authorizer (Wpf/Xaml)

Old forum URL: forums.lhotka.net/forums/t/9684.aspx


tabaguley posted on Wednesday, October 27, 2010

I have been building out a Wpf project using the CSLA 4.0.1 Framework.  In the sample code for Project Tracker, an Authorizer control is used to provide Read/Write authorization, but that control no longer exists in the Csla.Xaml project.  I also see a note in the CSLA 4 change log that it has been removed.  What is the replacement for this control?  And/or, what is the best way to go about applying Read/Write authorization on the controls in my user interface?

RockfordLhotka replied on Wednesday, October 27, 2010

PropertyStatus exposes properties you can bind to so you can implement authorization at a property level.

ViewModelBase/ViewModel and CslaDataProvider expose properties you can bind to so you can implement authorization at an object level.

Copyright (c) Marimer LLC