deleted compatibility class
add support for wildcard in array for permission checking