Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[USE CASE] Do we want to expose Media at their own URLs? #2245

Closed
rosiel opened this issue Jun 21, 2023 · 3 comments
Closed

[USE CASE] Do we want to expose Media at their own URLs? #2245

rosiel opened this issue Jun 21, 2023 · 3 comments
Labels
Type: use case proposes a new feature or function for the software using user-first language.

Comments

@rosiel
Copy link
Member

rosiel commented Jun 21, 2023

Overview of Use Case

There is an option in Drupal's core media settings to have "Standalone Media URL". With it on, all media are visible at /media/[mid] (e.g.) /media/1.

Right now in the starter site this is off, but should we turn it on?

Arguments for not having media URLs

  • It's cleaner to only expose media through their parent node. You get context and easier site navigation (user won't get lost on leaf pages. Contextual blocks will show up based on the node's configuration).
  • Don't want people to page through media and encounter, for example, FITS files and other things that might be not suitable for public consumption, including media for nodes that aren't published. The incremental nature of media IDs means we are inviting this to happen.
  • Workbench defaults assume you don't have this on. There's a workaround configuration option if you do.
  • It supports seeing the media as standalone rather than part of a node (assuming you see media as belonging to nodes).

Arguments for having media URLs

  • it supports seeing the media as standalone rather than part of a node (assuming you see media as their own entities subject to management and control, which they are)
  • The FITS and Extracted Text media types have data displayed on their "view pages" (e.g. the FITS formatted HTML table) that's not visible otherwise
@rosiel rosiel added the Type: use case proposes a new feature or function for the software using user-first language. label Jun 21, 2023
@rosiel
Copy link
Member Author

rosiel commented Jun 21, 2023

Some use cases:

(paraphrased from Alexander on the tech call): If you're doing access control, you're making your life much harder by having standalone media URLs.

(paraphrased from Seth on the tech call): It makes administration easier, especially for reading FITS metadata. They were careful to never link to the media URL, and it seems users don't land on it and robots don't index it (which you could enforce with robots.txt)

@kstapelfeldt
Copy link
Member

kstapelfeldt commented Jun 22, 2023

+1 for keeping them hidden. If we need to expose the FITS metadata, should we index it and make a view?

@rosiel
Copy link
Member Author

rosiel commented Nov 1, 2023

I'm closing this ticket under the assumption we have a mild consensus that the answer is "no".

@rosiel rosiel closed this as completed Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: use case proposes a new feature or function for the software using user-first language.
Projects
None yet
Development

No branches or pull requests

2 participants