formcreator icon indicating copy to clipboard operation
formcreator copied to clipboard

[Form Creator 2.13.5] Attachments

Open Gitnor77 opened this issue 2 years ago • 6 comments

Hi, The new version plugin 2.13.4/2.13.5 removes the ability to add files in the public form.

Why?

We use this solution internally without logging into GLPI.

Gitnor77 avatar Mar 30 '23 07:03 Gitnor77

Hi

Please read the release notes. There is an importante information about that.

btry avatar Mar 30 '23 07:03 btry

Ok, I've read but we only use the form internally without network access from outside. We don't want users to log into the system to add a photo (required at our company).

Gitnor77 avatar Mar 30 '23 07:03 Gitnor77

Unfortunately this is not possible.

If you use glpi 10.0.5 or above, the file upload is broken in the plugin, because glpi has a security reinforcement. There is no solution without making your GLPI weaker. This is the reason of the removal of this feature.

I fully understand that this may impact users like you, but security is the priority. If you really want to restore the feature, you must revert a patch in glpi, and in Formcreator. Obviously I discourage you to do that.

btry avatar Mar 30 '23 07:03 btry

Hello btry, Just to be sure, the issue about the attachments does not exist for both cases (pasting an image in a textarea and questions of type File) in the forms with access type "Authenticated users". Could you confirm please? Thank you.

bazingavp avatar Apr 06 '23 06:04 bazingavp

Attachments don't work if the form is public, for a logged user it's ok.

Gitnor77 avatar Apr 06 '23 06:04 Gitnor77

Thank you @Gitnor77 for your prompt answer!

bazingavp avatar Apr 06 '23 06:04 bazingavp