Create Private File in "Export Query Into File"

Created on 25 October 2024, 28 days ago

Problem/Motivation

When using ECA to create a file for a view, there is no option for saving this as a private file, only the option to name the file.

If a administrator wants a restricted view to be saved as a spreadsheet usable by only logged in users, they cannot opt to make the file inaccessible to the public

Steps to reproduce

  • Create a view as a data export or a table
  • Create an eca model.
  • add Chron event.
  • Add the action "Views: Export Query into File"

Proposed resolution

Add an option so that the user may elect to save the file as a private or a public file, much like you would with a file field. Under the hood, this changes whether the url where the file is to be saved local system variables for $settings['file_private_path'] or $settings['file_public_path']

User interface changes

Add a field within eca form to select private or public paths

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States abferris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024