Ejemplo n.º 1
0
 internal PWASNavigationNode(PwasObject obj, PwasAction action, PwasScope scope)
     : base()
 {
     this.PwasObject = obj;
     this.PwasAction = action;
     this.PwasScope  = scope;
 }
Ejemplo n.º 2
0
        internal static bool IsAuthorized(int userId, PwasObject obj, PwasAction action, PwasScope scope)
        {
            PwasScope permissionScope = IsAuthorized(userId, obj, action);

            return(permissionScope >= scope);
        }