zdzzdz 0 Posted November 7, 2025 Posted November 7, 2025 Hi, I'm trying to hide a specific media library for a user via the API. In version 4.8, I was able to do this by setting Policy['BlockedMediaFolders'] = ['the block lib name'], and it worked well. However, in version 4.9, this option seems to have been removed. Now, I have to first retrieve all media folder GUIDs, remove the one I want to hide, and then set Policy['EnabledFolders'] to the remaining GUIDs. I also need to make sure Policy['EnableAllFolders'] = false. Additionally, when displaying libraries, I need to consider whether EnableAllFolders is set to true. So my question is: was BlockedMediaFolders removed in version 4.9.1.80? And is my current approach the correct way to hide a media library for a user? Thanks in advance! 1
Solution Luke 42077 Posted November 7, 2025 Solution Posted November 7, 2025 Quote So my question is: was BlockedMediaFolders removed in version 4.9.1.80? Yes. 4.8 didn't have it in the UI anymore either, although it may have still been checking it behind the scenes. Quote And is my current approach the correct way to hide a media library for a user? Yes that sounds right.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now