The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
how to provide visibility permission to all media type entity? If I have n no. of media type entities and I want to provide my test user to have visibility permission to all the existing media type and new media entities.
what will be the ay to do this?
Solved! Go to Solution.
Apply permissions at collection level,
Permissions > Collections > Select "Media"
Click "Edit Permissions" for Visibility and Runtime Permissions.
In such situations, what you usually do is to script the assignment of the visibility permissions to the needed media type entities.
By script I mean creating a service which does that.
First loop through all media entities (SpotlightSearch), then for each of them assign the visibility (it's one of the services available under a media entity)
Apply permissions at collection level,
Permissions > Collections > Select "Media"
Click "Edit Permissions" for Visibility and Runtime Permissions.