[BACKLOG-627] fix permission check, service jdoc