Warehouse.Security.Check C# (CSharp) Method

Check() public static method

Check is user has permission to invoke action on an application
public static Check ( Simplified.Ring3.SystemUser user, ActionType action, Settings settings ) : bool
user Simplified.Ring3.SystemUser
action ActionType
settings Settings
return bool
        public static bool Check(SystemUser user, ActionType action, Settings settings) {

            // TODO: check action type
            if (user == null) {
                //TODO: an anonymouse user can have access to some functions
                return false;
            }

            return false;
        }