Skip to main content
8-Gravel
Sep 15, 2023 12:18 PM UTC
Solved

how to provide visibility permission to all media type entity?

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?

 

 

17-Peridot
Sep 15, 2023 2:28 PM UTC

Apply permissions at collection level,

Sathishkumar_C_0-1694788009947.png

Permissions > Collections > Select "Media" 

Click "Edit Permissions" for Visibility and Runtime Permissions.

2 replies

19-Tanzanite
Sep 15, 2023 1:12 PM UTC

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)

Translate
17-Peridot
Sep 15, 2023 2:28 PM UTC

Apply permissions at collection level,

Sathishkumar_C_0-1694788009947.png

Permissions > Collections > Select "Media" 

Click "Edit Permissions" for Visibility and Runtime Permissions.

Translate