Παρουσίαση με Ετικέτες

Conditional Member Level Security
15 Σεπτεμβρίου 10 11:31 πμ | tolisss | 0 σχόλια   
DevExpress has the best support center I have ever seen, their Code Central really rocks and its fill with hundredths' of samples. One of them is is How to implement the MemberLevel security manually (for example, to deny the 'Read' access for declared properties of some business class, and allow access for the inherited properties eXpand has the above example as a module since its version 9 and you can use it by using the Xpand.ExpressApp.MemberLevelSecurity.dll assembly following the standard procedure for registering a xaf module. But in v10 we have boost it a little bit and we have make it conditional so now you can apply multiple Member Access Permissions to a member and by using the criteria member you can force the permission to be applied only to objects

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία:
New MemberLevel Security module
16 Φεβρουαρίου 10 11:22 πμ | tolisss | 0 σχόλια   
eXpand has a new module that make its easy to protect selected members from selected object instances. It does the above by checking if in the current system has been granted a eXpand.ExpressApp.MemberLevelSecurity.Win.Security.ProtectRowMemberPermission with an allow Modifier. Then it will allow you to protect selected members of an object as shown in the image above I have protected (minus sign) boths phones but not the fax (plus sign). So a user that do not have permission will see or for listviews There is also a non object instance depented permission for use as suggested by K18110 So when you create a new role you have to add the following permision by default role.AddPermission( new MemberAccessPermission ( typeof ( object ), null , MemberOperation .Read,

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , ,

Search

Go

Το Ιστολόγιο

Ιστορικό Δημοσιεύσεων

Συνδρομές