fix: Stop rendering Visibility and Move buttons on libraries 2
fix: Stop rendering Visibility and Move buttons on libraries 2

* Revert "Revert "fix: Stop rendering Visibility and Move buttons on libraries (#26885)" (#27113)"

This reverts commit 23443c437678e07ab949cbcdb85f3db41a3fb51e.

* fix: change method of accessing course id
EDUlib/edx-platform,arbrandes/edx-platform,edx/edx-platform,angelapper/edx-platform,angelapper/edx-platform,eduNEXT/edx-platform,edx/edx-platform,eduNEXT/edunext-platform,angelapper/edx-platform,eduNEXT/edunext-platform,eduNEXT/edunext-platform,eduNEXT/edx-platform,EDUlib/edx-platform,arbrandes/edx-platform,eduNEXT/edunext-platform,EDUlib/edx-platform,eduNEXT/edx-platform,angelapper/edx-platform,EDUlib/edx-platform,edx/edx-platform,arbrandes/edx-platform,eduNEXT/edx-platform,arbrandes/edx-platform,edx/edx-platform