my data-driven web site needs a visualized Privilege Management feature,
but i don’t want to develop it by hand, i think there must be some mature general projects.
i use asp.net mvc, razor, EF & MySql
if not role-based but permission-based will be better
my code:
just add this attribute to Controller and action