I have a doubt. Is there a way to add an object authorization rule depending a property value?
I'm working in CSLA 3.6.
I'm trying to do the following:
Private Shared Sub AddObjectAuthorizationRules()
If MyStatus=Valid then
Obviously I'm getting an error because I'm trying to access a property inside a Shared method but I put it here trying to explain what I need.
Is there a way to reach this behavior?
Thanks a lot.
This is not supported in 3.6. Your option is to add custom Authorization check in the Save method of your BO and the DataPortal_Update/Insert method.
Thanks a lot!!!!!!!!
I've got it.
Copyright (c) Marimer LLC