Is it possible to store in the database the roles allowed to create, update or delete objects, or to read and write properties?
The idea is to allow the system administrator to create new customs roles without the need of new object compilations.
I understood, from Rocky´s book, that Csla manage custom security like this
Properties
AuthorizationRules.AllowWrite(NameProperty, "ProjectManager");
or
Objects
AuthorizationRules.AllowCreate(typeof(Project), "ProjectManager");
Is it possible at this level of the object life to gain access to the DB to read user permissions?
Thanks in advance,
Stiv
There have been discussions in the forum previously concerning this. Here's a link to (an admittedly older) one:
http://forums.lhotka.net/forums/thread/10400.aspx
Otherwise, if you search the forums for something like "authorization rules database", you should get some decent information.
HTH
- Scott
Copyright (c) Marimer LLC