Do we still use AddAuthorizationRules() method for 'Authorization Rules"?

Do we still use AddAuthorizationRules() method for 'Authorization Rules"?

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


fredg posted on Monday, November 14, 2011

Do we still use AddAuthorizationRules() for per-property or per-method rules in the area of "Authorization Rules"? It's replaced by AddBusinessRules()?

Of course, for Per-type authorization, we keep AddObjectAuthorizationRules().

JonnyBee replied on Monday, November 14, 2011

Starting from Csla 4.0 there is no more AddAuthorizationRules method to override.

You will add all per-property/method rules in AddBusinessRules.

Copyright (c) Marimer LLC