Add whitelist and blacklist for resource name