Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Forum has moved

New location: CSLA .NET forum

CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • Browse Forum Posts by Tags

    Showing related tags and posts for the CSLA .NET discussion forum. See all tags in the site
    • Per-property authorization rule that depends on async, lazy-loaded property

      What is the best approach for implementing a per-property authorization rule that depends on the result of an async, lazy-loaded property? Here's my suggestion: [Serializable] public sealed class Parent : BusinessBase<Parent> { public static readonly PropertyInfo<string> NameProperty...
      Posted to CSLA .NET discussion (Forum) by Chattererman on Tue, May 7 2013
    • Authorization rules not running for new object

      When I create a new instance of a business object, the authorization rules do not run. I have a custom authorization rule that changes access to a property based on the state of another property. This rule runs as expected when fetching an existing object and editing it, but it seems like the authorization...
      Posted to CSLA .NET discussion (Forum) by jmuller on Thu, Feb 14 2013
    • Customize Authorization Rules Messages.

      Hello all. I'm using Authorization Rules in my Business Objects but when any Authorization Rule is broken the message provided on the exception do not fits my needs. I was reviewing the implementation of the DataPortal class and CSLA throws a Security Exception and loads the exception message from...
      Posted to CSLA .NET discussion (Forum) by omarcusido on Fri, Oct 14 2011
    • Where is Execute command authorization rule?

      Why there is no ExecuteObject/ExecuteCommand per type authorization rule/action? I can see that AddObjectAuthorizationRules() is being call... Thanks Ivan UPDATE : ok, after looking through csla source, I figured out that EditObject permission is being checked while executing DataPortal_Execute method...
      Posted to CSLA .NET discussion (Forum) by mesh on Mon, Aug 29 2011
    • ReadWriteAuthorization WinForms Base Class

      Hi All, We have encountered a problem with the ReadWriteAuthorization control which I believe is related to how we've created our BO. It currently works for all other WinForms except one. We have created a base class that contains our Property Methods (let's call it Contact) derived from BusinessBase...
      Posted to CSLA .NET discussion (Forum) by Phlar on Tue, Jul 12 2011
    • 4.10 Permission based authorization example - am I doing it right?

      I'm updating an extremely ancient CSLA (1.x era) project to 4.10 and our original authorization is permission based. Users can set each users rights to 84 types of objects (RootObjectTypes in the code below) within our app at 4 different levels (No access, read only, read/write, delete). Rights are...
      Posted to CSLA .NET discussion (Forum) by JCardina on Wed, Feb 16 2011
    • ReadWriteAuthorization and CheckBox

      I hope this is a quick/simple question. I have a form with 5 Text boxes and 1 Check box. The Edit permissions properly grey's out all text boxes for those users whom only have Read-Only permissions. However the check box is still editable (clickable). The current databinding is being done on the...
      Posted to CSLA .NET discussion (Forum) by Phlar on Tue, Jan 25 2011
    • Changing CanEditObject After loaded

      i have a person object. This person Object has the Shared function of CanEditObject. This is working just fine using the permissions/roles for the currentuser. However, this permission: PERMISSION_PERSON_EDIT_DEMOGRAPHICS, sometimes need to be overridden based on values returned within the object. So...
      Posted to CSLA .NET discussion (Forum) by nj609eagle on Mon, Dec 20 2010
    • Authorization capability in 4.0

      I'm currently developing a Csla solution using 3.8.2 and was wondering if authorization was more flexible/customizable in Csla 4.0.x. I have to work with complex auth/validation logic and the line between what is considered authorization or validation is blurry. I started by reading this post http...
      Posted to CSLA .NET discussion (Forum) by Brett Mathe on Thu, Dec 9 2010
    Page 1 of 1 (9 items)

    Copyright (c) 2006-2014 Marimer LLC. All rights reserved.
    Email admin@lhotka.net for support.
    Powered by Community Server (Non-Commercial Edition), by Telligent Systems