- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 07:22 AM
Hi, I'm having a problem with the view-layout in nuxeo-designer. I had a document created and I attached a file to it. All correctly done it.
I did it with the nuxeo-document-attachment component, but when I'm in the view mode I wrote this;
and I can edit the documents attached and attach new ones. My idea is to couldn't edit in the view layout my attachment documents. Any idea why this isn't working? Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 07:45 AM
Hello,
This is not a problem: you can replace the main file from the view layout for exemple. This is allowed because we check Write permissions on the document. If user has Read, then he can't add / remove attachments. If you need to add custom logics, take inspiration from https://github.com/nuxeo/nuxeo-web-ui/blob/10.10/elements/nuxeo-document-attachments/nuxeo-document-....
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 07:45 AM
Hello,
This is not a problem: you can replace the main file from the view layout for exemple. This is allowed because we check Write permissions on the document. If user has Read, then he can't add / remove attachments. If you need to add custom logics, take inspiration from https://github.com/nuxeo/nuxeo-web-ui/blob/10.10/elements/nuxeo-document-attachments/nuxeo-document-....
Regards
