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

Has this been suggested as a stock ErpNext feature? #1

Open
jhouxzirrus opened this issue Jun 29, 2022 · 3 comments
Open

Has this been suggested as a stock ErpNext feature? #1

jhouxzirrus opened this issue Jun 29, 2022 · 3 comments

Comments

@jhouxzirrus
Copy link

There are multiple outstanding issues on Frappe and ErpNext asking for file attachments to default to private. It's a vulnerability that needs to be patched, and its been practically getting ignored despite how dangerous it is.

frappe_private_attachments app is a fantastic solution to the problem since it completely disables public as an option unless a doctype is given explicit override!

This is exactly how it should work in standard ErpNext! Have you brought it to attention on Frappe Github? If not, I'd like to open a Feature Request on Frappe suggesting that this app be integrated as a standard app.

@shridarpatil
Copy link
Owner

There are already a few opened issues in Frappe that's the reason I have not opened any new issues.

I think the proper solution would be adding a flag to allow public files while creating the doctype So that we don't have to maintain a separate doctype to track while uploading files.

If not, I'd like to open a Feature Request on Frappe suggesting that this app be integrated as a standard app.

Yeah you can go ahead and open a feature request

@jhouxzirrus
Copy link
Author

Hrmmm...

Yes you're right that adding a flag field present on all doctypes would probably resonate better with UX, and is arguably better suited as a standard out-of-the-box feature.

I suppose I'll update one of the existing issues to suggest the doctype flag approach. Of course, that means it won't get addressed until someone decides to write that code. :D But at least it'll be documented.

As a bolt-on feature, I think your app is great though!!! Thank you for creating it!

@shridarpatil
Copy link
Owner

I suppose I'll update one of the existing issues to suggest the doctype flag approach. Of course, that means it won't get addressed until someone decides to write that code. :D But at least it'll be documented.

If they approve this approach then I can send the PR to frappe

@shridarpatil shridarpatil pinned this issue Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants