WIP - Add Studio support for cohorted courseware

TNL-652
How does this relate to the other edit_visibility method (line 252)? Can we just have one?