- 🇩🇪Germany Anybody Porta Westfalica
Sorry for the propably dumb question, but after searching for a core issue or an answer to this requirement (I only found good solutions for nodes), I'm asking myself, why only "view unpublished $bundle media"?
If you have "private" media types (with private download fields) that should only be accessible for certain roles, there doesn't seem to be a way, as there's only "View media" and "View own media".
So shouldn't this issue also solve that part and add "View" and "View own" for media?
What am I missing?
- 🇺🇸United States dww
@Anybody re: #52: See #3213506-12: Add a way to limit the available media items when embedding into other entities → and other comments in there for why a "View own media items" permission isn't the right approach (IMHO).
- 🇩🇪Germany Anybody Porta Westfalica
@dww: Thanks! You can see our use-case in ✨ Add "view $bundle media" permission Active . "View own" isn't really relevant for us, but we need to limit (only certain) media types to elevated roles. I think that's not an untypical use-case. I got your point in #52. In our case, it's expected behavior, that lower roles can neither see the media nor download the file. But let's better proceed with the discussion in ✨ Add "view $bundle media" permission Active ? If you'd like to have a look.
rerolled for 10.3.10, didn't include the tests, since expecting this to get a more general solution
- 🇳🇿New Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.