learlab / strapi

https://strapi-pi-eight.vercel.app
1 stars 0 forks source link

Restrict HTML Embed to Specific Users #27

Open langdonholmes opened 2 months ago

langdonholmes commented 2 months ago

Our plan has been to disable the HTML Embed feature entirely, but this means that our developers have no method to add code to the MDX files. If they manually edit the MDX files, then their code will be overwritten with the next Github Publish.

A workaround to this problem is to develop some functionality that would include the HTML Embed option but only enable it for specific Strapi users.

An alternative solution is to create a patching system for the MDX files that would be applied after the usual Github Publish sequence.

Neither of these solutions are particularly straightforward, so I think this should be a low priority.

langdonholmes commented 1 month ago

Qiushi doesn't seem very interested in using the HTML embed feature. Marking this as won't fix for now, but leaving it open in case we want to create a backdoor for developers in the future.