I must be going blind but I can't seem to find usage of AddObjectAuthorizationRules() in *any* of the 4.10 samples. Is there an example in there?
Hi,
Look at ActionExtenderSample, ex:
protected static void AddObjectAuthorizationRules()
{
BusinessRules.AddRule(typeof(OrderDetailCollection), new Csla.Rules.CommonRules.IsInRole(AuthorizationActions.GetObject, ("user")));
}
Copyright (c) Marimer LLC