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

hide the download button #1

Open
digcat opened this issue Jun 5, 2017 · 7 comments
Open

hide the download button #1

digcat opened this issue Jun 5, 2017 · 7 comments

Comments

@digcat
Copy link

digcat commented Jun 5, 2017

love your work on the excellent module ! works as prescribed. One feature enhancement which would be nice is to hide the download button on the content view for simple users.

@angelborroy-ks
Copy link
Contributor

@digcat
Copy link
Author

digcat commented Jun 5, 2017

odd so have removed line 29, recompiled and reployed but the download button continues to show

image

@digcat
Copy link
Author

digcat commented Jun 5, 2017

it would actually be awesome to have that in a separate group, then a simple user could be given download permission or not

@angelborroy-ks
Copy link
Contributor

Looks like this Download button is associated with node-header:

https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/node-details/node-header.get.js

It should be required to customise and extend this component.

Anyway, as I said before this project is only a template for you to adapt.

@digcat
Copy link
Author

digcat commented Jun 5, 2017

very true, just a nice feature to make your add on super useful

@digcat digcat closed this as completed Jun 5, 2017
@angelborroy-ks
Copy link
Contributor

No problem, let this issue prevail opened for future iterations on the project.

Thanks for your feedback!

@angelborroy-ks angelborroy-ks reopened this Jun 5, 2017
@douglascrp
Copy link

Hello @digcat and @angelborroy
If the idea is to completely remove the download option, then there are even more places that have to be customized.
The download option inside the pdf.js component, the download as zip actions, both in the document library actions and also in the multi-select menu, in the faceted-search page, in the preview show when the user clicks on the thumbnail inside the faceted-search result.

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

3 participants