Added cannot function and ability to permit or deny with an array