implementing NOResourcePermission in NOResourceProtocol