Check dlx type while checking permissions