CONTENT-1823 Added check for public roles