silverstripe / silverstripe-asset-admin

Silverstripe assets gallery for asset management
BSD 3-Clause "New" or "Revised" License
20 stars 79 forks source link

Indicator for "private" files #921

Open chillu opened 5 years ago

chillu commented 5 years ago

Overview

We've identified a few inconsistencies with private file handling: https://github.com/silverstripe/silverstripe-assets/issues/220 and https://github.com/silverstripe/silverstripe-assets/issues/221. In order to ensure private files (access protected through canView) can be handled safely in the CMS, we need to inform users on how those files differ from others, and what the implications are.

Acceptance Criteria

Notes

chillu commented 5 years ago

@silverstripeux I'm wondering how we can achieve this. A "lock" icon on each file with hover info, and some accessible fallback that doesn't get read out on every file? Keep in mind that a file can both be protected (draft) and private (access restricted). I'd be fine if we just pick one of these icons, rather than add "multi icon" support or something.

There's more we could do: Notify you when you unpublish, access restrict or delete a file that's already associated to content. That's imperfect at best of times, since we don't comprehensively track those relationships, and what counts as "used in website content". I'm putting this in the "too hard" basket for now.