Dapplo.CaliburnMicro icon indicating copy to clipboard operation
Dapplo.CaliburnMicro copied to clipboard

Add something which supports roles & rights.

Open Lakritzator opened this issue 8 years ago • 1 comments

Having a basic generic implementation, where it's possible to use annotations on elements to specify the behaviour on what to do if a right is missing.

Example [Export("systemtray", typeof(IMenuItem))] [NeedsRights(Behavior.Disable, "Config")] public class ConfigureMenuItem : MenuItem

and: [Export("systemtray", typeof(IMenuItem))] [NeedsRights(Behavior.Invisible, "Config")] public class ConfigureMenuItem : MenuItem

Lakritzator avatar Nov 15 '16 16:11 Lakritzator

Created a package Dapplo.CaliburnMicro.Security which does most stuff I need, still needs documentation

Lakritzator avatar Mar 23 '17 14:03 Lakritzator