CSLA .NET
From Rockford Lhotka's Expert C# 2008 and VB 2008 Business Objects books
Sign in
|
Join
|
Help
Home
Forums
Store
FAQ
Forums
»
CSLA .NET Community Contributions
»
CslaContrib
»
AuthorisationRules in C#
CSLA .NET Resources:
CSLA .NET home page
What is CSLA .NET?
Download CSLA .NET
CSLAcontrib project
Code generation index
AuthorisationRules in C#
rated by 0 users
This post has 2 Replies | 0 Followers
Posts
2
Reply
carnivore
Posted: Tue, Nov 20 2007 7:52 AM
rated by 0 users
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
regards, roman
Posts
12
Reply
praevsky
replied on
Tue, Nov 20 2007 5:11 PM
rated by 0 users
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
Posts
2
Reply
carnivore
replied on
Thu, Nov 22 2007 4:38 AM
rated by 0 users
The solution was to clear the AuthorisationCache.
But at the moment it will only be done automaticly if the principal has changed.
Previous
|
Next
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.
Why donate?
Copyright (c) 2006-2010
Marimer LLC
. All rights reserved.
Email admin@lhotka.net for support.