-
Notifications
You must be signed in to change notification settings - Fork 6
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
On Storage, Remote URL or Voucher file upload Webform Element #110
Comments
@alliomeria @giancarlobi @patdunlavey ideas here? I can reuse a big chunk of AMI code for the processing (means moving to a more centralized location). Any security concerns? @pcambra what would you need to make this play "voucher" ? |
@DiegoPino this all sounds great! Have a few questions/comments (apologies if any reflect misunderstanding on my part):
|
@alliomeria this is good! (please never ever apologize!)
Good question here: On one side the Voucher Project is exactly to avoid this issue and to hide storage from the end user. But I see that to complement Voucher/in the meantime we can have a safe base path setting per user. Means
No, this would be a Webform building (at the element) Setting setup. But this is only needed if this new Webform element is a totally different to the actual Upload element and not a replacement that also allows uploads... In that case the "current key" would be the key (as we do know). So much to discuss! Because making this replacement also Means a lot of code (its already a lot)
Thanks. My only fear is that a full folder will be a bit obscure (user will not know what is inside and can lead to a HUGE ADO). That also applies to AMI (so double thinking that now). But maybe a ZIP file upload (path to a zip) can solve that too?Open to hear PROS and CONS So much good stuff here @alliomeria, thanks so much. Please follow up with more questions, concerns and good ideas. |
Almost thinking that what people will eventually ask for (not sure I can deliver) is a File Browser, but remote. |
Media does have the concept of external media sources, maybe some of that
could be leveraged
https://www.drupal.org/docs/8/core/modules/media/creating-a-custom-mediasource-plugin-for-external-assets
…On Wed, 24 Mar 2021 at 19:23, Diego Pino Navarro ***@***.***> wrote:
Almost thinking that what people will eventually ask for (not sure I can
deliver) is a File Browser, but remote.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#110 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAZTUD2MTCUXSAIQATTQKLTFIU2VANCNFSM4ZV2BPUA>
.
|
What?
A new webform element that deals with Existing Files (e.g in S3), Remote URLs (like another Repo) and Vouchers (WIP by @pcambra). No need to have all this options at the same time, so these will be "settings" Webform builders can set.
Idea is:
"documents:"
) that will be used to "transplant" the new File EntityAm I missing something? I see this as a "one by one" case, not multiple URLS, paths, but can also do many.
What should I look for? Am I missing some complexities? I plan on "rewriting" the normal File upload
Another option would be:
Make this one also capable of Direct Upload. That way I do not need to have a "A Destination JSON key" and this can be used as replacement for our existing upload ones...
The text was updated successfully, but these errors were encountered: