Added support for wildcard permissions