test docType permissions