LPS-40360 Fix, doAsGroupId was not read correctly at control panel and was causing Document and media work incorrectly