checking permissions for work with versioning