private function getMediasPermissions()
    {
        return [
            [
                'name'        => 'Medias - List all medias',
                'description' => 'Allow to list all the medias.',
                'slug'        => MediasPolicy::PERMISSION_LIST,
            ],
            [
                'name'        => 'Medias - View a media',
                'description' => 'Allow to display a media.',
                'slug'        => MediasPolicy::PERMISSION_SHOW,
            ],
            [
                'name'        => 'Medias - Download a media',
                'description' => 'Allow to download a media.',
                'slug'        => MediasPolicy::PERMISSION_CREATE,
            ],
            [
                'name'        => 'Medias - Update a media',
                'description' => 'Allow to update a media.',
                'slug'        => MediasPolicy::PERMISSION_UPDATE,
            ],
            [
                'name'        => 'Medias - Delete a media',
                'description' => 'Allow to delete a media.',
                'slug'        => MediasPolicy::PERMISSION_DELETE,
            ],
        ];
    }
private function getMediasPermissions()
    {
        return [
            [
                'name'        => 'Medias - List all medias',
                'description' => 'Allow to list all the medias.',
                'slug'        => MediasPolicy::PERMISSION_LIST,
            ],
            [
                'name'        => 'Medias - View a media',
                'description' => 'Allow to display a media.',
                'slug'        => MediasPolicy::PERMISSION_SHOW,
            ],
            [
                'name'        => 'Medias - Download a media',
                'description' => 'Allow to download a media.',
                'slug'        => MediasPolicy::PERMISSION_CREATE,
            ],
            [
                'name'        => 'Medias - Update a media',
                'description' => 'Allow to update a media.',
                'slug'        => MediasPolicy::PERMISSION_UPDATE,
            ],
            [
                'name'        => 'Medias - Delete a media',
                'description' => 'Allow to delete a media.',
                'slug'        => MediasPolicy::PERMISSION_DELETE,
            ],
        ];
    }
private function getMediasPermissions ( ) { return [ [ 'name' => 'Medias - List all medias' , 'description' => 'Allow to list all the medias.' , 'slug' => MediasPolicy :: PERMISSION_LIST , ] , [ 'name' => 'Medias - View a media' , 'description' => 'Allow to display a media.' , 'slug' => MediasPolicy :: PERMISSION_SHOW , ] , [ 'name' => 'Medias - Download a media' , 'description' => 'Allow to download a media.' , 'slug' => MediasPolicy :: PERMISSION_CREATE , ] , [ 'name' => 'Medias - Update a media' , 'description' => 'Allow to update a media.' , 'slug' => MediasPolicy :: PERMISSION_UPDATE , ] , [ 'name' => 'Medias - Delete a media' , 'description' => 'Allow to delete a media.' , 'slug' => MediasPolicy :: PERMISSION_DELETE , ] , ] ; }
Get the Medias permissions.

@return array
Get the Medias permissions .