CSLA .NET

From Rockford Lhotka's Expert C# 2008 and VB 2008 Business Objects books

AuthorisationRules in C#

rated by 0 users
This post has 2 Replies | 0 Followers

Not Ranked
Posts 2
carnivore Posted: Tue, Nov 20 2007 7:52 AM
Hello,

my problem is the following. I want to disable some properties at some objects.
therefor I use AuthorizationRules.InstanceDenyWrite(propertyname, role);
The properties are disabled, all fine.

now I want to enable this properties at the runtime.

How is it possible?

sorry for my bad english Smile [:)]
regards, roman
Top 500 Contributor
Posts 12
praevsky replied on Tue, Nov 20 2007 5:11 PM
The ActionList is available on The Code Project as a .net extender control .
Serge Weinstock, the author describes it far better than I can on one short page.
http://www.codeproject.com/cs/miscctrl/actionlist.asp



Not Ranked
Posts 2
carnivore replied on Thu, Nov 22 2007 4:38 AM
The solution was to clear the AuthorisationCache.

But at the moment it will only be done automaticly if the principal has changed.
Page 1 of 1 (3 items) | RSS

Please contact Magenic for your .NET consulting
and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems