Looking for a Role Based Menu

Looking for a Role Based Menu

Old forum URL: forums.lhotka.net/forums/t/7948.aspx


tiago posted on Wednesday, November 04, 2009

Hi all,

Csla has nice features for RBAC (Role Based Access Control). I mean, when you want to control access to objects or properties (meaning forms and fields).

What about application menus? Did someone wrote a Role Based Menu (RBM)?

What I'm looking for is some way to build menus loading from storage:
- menu item name
- parent menu item name
- AllowRead, DenyRead, AllowExecute, DenyExecute (list of roles)
- friendly name or resource name for the friendly name
- assembly and method to call
- etc

RockfordLhotka replied on Wednesday, November 04, 2009

CSLA 3.6 and higher have per-type authorization rules. So rules about whether you can create, get, edit or delete a type of object. These rules are set by the business class, but are available to the UI, so they can be used for things like managing menus and similar UI concepts.

Copyright (c) Marimer LLC