panel.file.update

Permission to update custom fields of a file

Target Data

ui

$this->target()->page()
$this->target()->file()

action

$this->target()->page()
$this->target()->file()
$this->target()->data()

Example

<?php

// site/roles/editor.php
return [
  'name'        => 'Editor',
  'default'     => false,
  'permissions' => [
    '*'                 => true,
    'panel.file.update' => false
  ]
];