Issue #2376665: fix issue with og permissions not being set correctly