SilverStripe\Assets\File::providePermissions
Return a map of permission codes to add to the dropdown shown in the Security section of the CMS.
array( 'VIEW_SITE' => 'View the site', );
Signature
public function providePermissions()
array( 'VIEW_SITE' => 'View the site', );
public function providePermissions()