hasPermission() hasPermission( $permission, $allowed, $opts = array()) Parameters $permission $allowed $opts