Can not hide attached file for some users,shows in file attachment side bar section

I created a attach field inside form.based on role permission attach field successfully hided for some users,but user can access the file from attach file section in side bar

1 Like

How ? Try same logic for attached file section.

I created a attach field using customize form.that field successfully hided.but attached file can see from attach file section for all users

Try same logic for attached file section.

is it possible to add role permission for attached file section

Currently, there is no such functionality. Try to hide it using jQuery
See this - Hide and Show
.

i have same problem, all documents are view by all people with no solution, every binari on server are public to all users (just need click on upload file from any module)

image

3 years and unknow if can correct or manage this problem.

Do you have any solution for this issue, I face same issue!
Thanks in advance.

this still open for now … this is a big issue !!!

i can hide the upload from exists files in the system from the dialog by this fix
in file
FileUploader.vue
at this path ~/frappe-bench/apps/frappe/frappe/public/js/frappe/file_uploader
at line 133
disable_file_browser: {
change form false

  •                   default: false
    

to true

  •                   default: true