I tried giving Read,create permission for /content/dam but it is not allowing to upload.If I give modify it is allowing user to edit the asset though I am able to upload.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi sureshy2015
One of the approach could be, creating of costume component for assets uploading/Downloading.
// Pre-requisite
Create a Data Structure listing all the custom permission for all users.
eg. User ID Mod_Edit
aaaa 1
bbbb 0
This component will check if user has particular permission or not, and behave accordingly.
Reference Link:- https://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html (User Manager API)
Reference Link:- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html (Custom Component for uploading of images, you need to create a logic according to your needs).
This way of doing the work will not allow user to edit the assets using this components, but they may edit it using other components (So create a templates having this component only).
I hope this will help you. I hope i am not missing on something.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
you should give read, create and modify for /content/dam
but give only read, create for your project specific folder under dam. ex: /content/dam/<project> .
Views
Replies
Total Likes
Hi sureshy2015
One of the approach could be, creating of costume component for assets uploading/Downloading.
// Pre-requisite
Create a Data Structure listing all the custom permission for all users.
eg. User ID Mod_Edit
aaaa 1
bbbb 0
This component will check if user has particular permission or not, and behave accordingly.
Reference Link:- https://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html (User Manager API)
Reference Link:- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html (Custom Component for uploading of images, you need to create a logic according to your needs).
This way of doing the work will not allow user to edit the assets using this components, but they may edit it using other components (So create a templates having this component only).
I hope this will help you. I hope i am not missing on something.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
joking ?.Finally I will be uploading to project folder only without modify permission it is not allowing me to upload!!!!!!!!!.
Views
Replies
Total Likes