implements authorization management
implements authorizations for documents edit function