Download all not allowed for service desk customers?
Asked by Remco Bakx:

When a user clicks the Download all link, they get a Not allowed page.

This only happens to service desk customers. When licensed users click the button, everything works fine.

So it looks like a service desk customer is only allowed to download single files and is not allowed to download all files at once via the Download all link.

How can we fix this so our service desk customers can also download all files at once?


Answers:
author: Diego
body: Hello [@Remco Bakx](/t5/user/viewprofilepage/user-id/745982) !

As I understand, your unlicensed users from Jira Service Desk as unable to use the "Download All" feature that exists in the attachments page.

With this behavior in mind, I want to check if we are talking about our Cloud or Server platform.

I ask this because this is a known issue for the Cloud platform currently filed under this report:
> * [++***\[Jira Service Desk\] KB article with file list asks to login to download all files***++](https://jira.atlassian.com/browse/JSDCLOUD-6628)

I was unable to find an equivalent for the Server counterpart.

Let us hear from you!

comments: author: Remco Bakx
body: My request relates to the Server platform.


author: Diego
body: Hello [@Remco Bakx](/t5/user/viewprofilepage/user-id/745982) ! Thanks for keeping the thread alive. I just received your notification on this thread.

I believe that you are running Confluence 7.6.1, is that correct? There are still some questions that we need to go over to keep going. Here we go:
> 1. *Which version of Jira Service Desk are you running?*
> 2. *Is the download All link coming from Confluence directly or is it the link that users have access via the attachment page in the Knowledge base article?*
> 3. *Does this happen with any article that contains files?*
> 4. *Would it be possible for you to share screenshots or a screen capture where the behavior is shown?*
> 5. *If the Jira Service Desk users download the files one by one, are they able to download them all?*
> 6. *Has this worked at some point in the past?*

The fact that the users are able to download one by one tells us that they have enough access to the files.  

Note about screenshots and screen captures: Take care not to disclose sensitive information with them. Our Community is an open space where everyone can see everything.

Let us hear from you!


author: Remco Bakx
body: Hello [@Diego](/t5/user/viewprofilepage/user-id/1188952) ,

Please find below the answsers on your questions:

* *Which version of Jira Service Desk are you running?*

*We are running Jira Service Desk 4.5.1.*

* *Is the download All link coming from Confluence directly or is it the link that users have access via the attachment page in the Knowledge base article?*

*It is the Download all link that comes together with the Attachments macro which is added to an article.*

* *Does this happen with any article that contains files?*

*Yes*

* *Would it be possible for you to share screenshots or a screen capture where the behavior is shown?*

*You can download a screen capture from here: <https://we.tl/t-I62YEcdVvH>*

*As you can see downloading a single file works OK, but when I click the Download all the Not Permittes page is shown.*

* *If the Jira Service Desk users download the files one by one, are they able to download them all?*

*Yes.*

* *Has this worked at some point in the past?*

*I don't know. We recently started using this feature.*

*I think it has nothing to do with Jira Service Desk, as Download all also doesn't work when downloading from the Confluence page directly.*

*FYI, the URL that shows the Not Permitted page looks like: https://xxx/pages/downloadallattachments.action?pageId=xxx*


author: Remco Bakx
body: Hi [@Diego](/t5/user/viewprofilepage/user-id/1188952) ,

Can you please let me know if you are still looking into this?

Regards,  
Remco


author: Diego
body: Hello [@Remco Bakx](/t5/user/viewprofilepage/user-id/745982) !

I surely am, thanks for checking in.

I was trying to replicate the behavior you showed us but I was ultimately unable to.

I tried with the following environment:
> * *Ubuntu Linux 20.04*
> * *Confluence 7.6.1*
> * *Service Desk 4.5.1*

I tried to:
> 1. *Download all attachments from the current page*
> 2. *Download all attachments from the current page with anonymous access enabled*
> 3. *Download all attachments from another page*
> 4. *Download all attachments from another page with anonymous access enabled*

In all scenarios, this was the result:
> **Directly From Confluence**
>
> ![DirectlyFromConfluence.gif](https://community.atlassian.com/t5/image/serverpage/image-id/107926iF036E7193CE55AF2/image-dimensions/339x175?v=v2 "DirectlyFromConfluence.gif")
>
> **From Within the Project**
>
> **![FromWithinServicedeskProject.gif](https://community.atlassian.com/t5/image/serverpage/image-id/107927i13A2FD0487199AC3/image-dimensions/361x186?v=v2 "FromWithinServicedeskProject.gif")**
>
> **From the Customer Portal**
>
> **![FromTheCustomerPortal.gif](https://community.atlassian.com/t5/image/serverpage/image-id/107928iD3AD7E699D74BAC1/image-dimensions/346x219?v=v2 "FromTheCustomerPortal.gif")**

The files correctly download. We would need more detailed information about logs and possible errors thrown by your system. However, community is not ideal for this kind of log analysis. Our community is an open space and everyone can see everything posted here.

You could reach out to our support channel here:
> * [++***\[Atlassian Support\] Contact Support***++](https://support.atlassian.com/contact/#/)

Let us hear from you.


author: Remco Bakx
body: Hi [@Diego](/t5/user/viewprofilepage/user-id/1188952)

Thanks for sharing your experience.

From what I see on the recordings, it looks like you are logged in as a user with a Confluence license. The recording 'Direct from Confluence' shows options like *Edit* and *Safe for later*. These options are not shown on the Confluence page when a non-licensed (Service Desk) users is logged in.

As mentioned in my original post, only non-licensed users experience this issue.

Can you please check the behaviour when you are logged in with an account that doesn't have a Confluence license?

Regards,  
Remco


author: Remco Bakx
body: Hi [@Diego](/t5/user/viewprofilepage/user-id/1188952) ,

Did you read my last post? Are you still looking into this?

Regards,  
Remco


author: Diego
body: Hello [@Remco Bakx](/t5/user/viewprofilepage/user-id/745982) !

Thanks for calling this out. I did have anonymous access enabled on that space and my unlicensed user was not logged in to Confluence.

I went back to that setup (luckily I did not delete the virtual machine), and was able to reliably replicate the issue every time I tried.

With these results, I was able to raise this bug report:
> * [++***\[Jira Servicedesk Server\] Trying to download all files from a Knowledge Base article from Jira Servicedesk with an unlicensed user results in a Not Permitted message***++](https://jira.atlassian.com/browse/JSDSERVER-7013)

The workarounds are these:
> * *Enable anonymous access and do not authenticate in Confluence with the unlicensed user*
> * *Download attachments individually*

Again, thanks for keeping this thread alive and calling out this unexpected behavior.

Let us hear from you!


author: Remco Bakx
body: Hi [@Diego](/t5/user/viewprofilepage/user-id/1188952) ,

I'm very happy to hear that you were able to replicate the issue. Thanks for you support and for creating an issue.

Unfortunately anonymous access is not possible for our solution, so hopefully this issue will be fixed soon.

Regards,  
Remco


author: Marcel Heijblom
body: Is it possible to not show this download all button?


author: Remco Bakx
body: .