Fixed issue with pass gen for ReadOnly user