AuthorisationRules in C#
Old forum URL: forums.lhotka.net/forums/t/3917.aspx
carnivore posted on Tuesday, November 20, 2007
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
praevsky replied on Tuesday, November 20, 2007
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
carnivore replied on Thursday, November 22, 2007
The solution was to clear the AuthorisationCache.
But at the moment it will only be done automaticly if the principal has changed.
Copyright (c) Marimer LLC