youngmon/atlassian-qna huggingface dataset:
Restrict Access To Specific Pages in Space - Valid Use Case
Asked by Kush M:

I have hundreds of spaces, each with multiple pages and sub pages structured by project. Each project should be visible to vendors who are allocated to the project but NOT to all other vendors who are not allocated to the project page and subpages.

The way the permissions seem to work this is a nightmare to do with security administration and is almost a non starter because by default everyone in the space has view access to all content.

Is this still correct or is there a solution to this valid use case?

Thanks


Answers:
author: Kush M
body: Probably this will not work as the home page has content we don't want vendors to see.


author: Kush M
body: Thanks. yes this will work but the challenge here is that we will need to do a lot more administration if we don't restrict from the home down for vendors. If we restrict from the home down for a group where all vendors are, then they don't see anything and at the project level we just give them access

Lot easier than putting page restrictions at every level.

comments: author: Nic Brough -Adaptavist-
body: Again, the view restrictions cascade down.


author: Kush M
body: Thanks for your answer. I'm not sure this will work as the only section we want vendors to see in the space is their specific project.

Here is a structure of space

* Home
  * Many sections like business strategy, operations etc here which the vendor should not see
  * Project 1
    * Subpages in project 1
  * Project 2
    * Subpages in project 2

I am thinking one way to do this will be to create one group for all external vendors and on the Home page restrict the external vendors group to not see anything so this will cascade on the whole tree. Then on each Project Page i.e. Project 1/2/3 we explicitly grant view access to each vendor so they can see content under that Project only.

Will this work?

comments: author: Nic Brough -Adaptavist-
body: I described a simple set of restrictions done at the top layer. It works further down as well. So you can do

* Home (unrestricted)
  * Business strategy (view restricted to only internal users)
  * Operations (view restricted to only internal users)
  * Docs for application X
* Internal (view restricted to only internal users)
* Vendor 1 (view restricted to vendor 1, and internal users)
* Vendor 2 (view restricted to vendor 2, and internal users)
* etc

Then vendors would see "home", "Docs for app X", and their vendor pages, but nothing else.


author: Nic Brough -Adaptavist-
body: The usual approach to this is to divide pages near or at the top level of a space.

For example, we often see spaces with two top-level pages, such that:

* Home (unrestricted)
* Internal (view restricted to only internal users)
* Vendor 1 (view restricted to vendor 1, and internal users)
* Vendor 2 (view restricted to vendor 2, and internal users)
* etc

View restrictions cascade down, so all you have to do in this structure is make sure documents are put under the right top level page.


Tags: administration

permission

security
How do I remove my (System admin) photo from a user's Confluence page in mobile version?
Asked by Alexis_Pruitt:

I am the System Admin at our facility.

Confluence ++**server**++ shows the original space creator name (and no photo).

![CPF desktop.PNG](/t5/image/serverpage/image-id/36228i0242A7A82C2C7340/image-dimensions/366x68?v=v2 "CPF desktop.PNG")

Confluence ++**mobile**++ shows the original space creator name (with a photo).

![CPF mobile .jpg](/t5/image/serverpage/image-id/36231iE13D22D0A4856D3B/image-dimensions/334x337?v=v2 "CPF mobile .jpg")

How do I remove *++my++* photo from my user's mobile homepage?

I have been perusing the space tools "Content Tools" and "Look and Feel" but am not able to locate a resource to help me do this.

Thanks!

Alexis


Answers:
author: Alexis_Pruitt
body: Tried this on how to remove it  
<https://confluence.atlassian.com/confkb/how-to-hide-content-author-name-created-by-in-a-page-701600769.html>  
you just have to go to the stylesheet and change that thing to not display which is a per space thing.

Not clean,

single space at a time,

still can't do for Mobile version as unable to alter CSS for mobile without a plugin


Tags: confluence-server

mobile

server
How to give reference or link for Sub heading in any page
Asked by Pandu B:

How to give reference or link for Sub heading in any page

My page is as below

Heading 1 : Defect

Sub heading #1 : component

Sub heading #2 : assignee

Sub heading #3 : status

Sub heading #4 : priority

Heading 2 : Epics

Sub heading #1 : component

Sub heading #2 : assignee

Sub heading #3 : status

Sub heading #4 : priority

Heading 3 : Story

Sub heading #1 : component

Sub heading #2 : assignee

Sub heading #3 : status

Sub heading #4 : priority

Heading 4 : Sub task

Sub heading #1 : component

Sub heading #2 : assignee

Sub heading #3 : status

Sub heading #4 : priority

Now i want to refer for each of the sub heading m let me know how can i give reference to all Sub heading


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Pandu B](/t5/user/viewprofilepage/user-id/1381633),

By referring each sub-heading, do you mean you want to use the link of this sub-heading in a different page or listing it in Table of Contents (TOC) in the same page?

In the first former case -

1. Create a TOC.
2. Copy the link address of the required sub-heading.
3. Use it in any other page and you should be able to navigate to the specific sub-heading.

In the latter case -

Create a TOC using a macro and you are good to go.

Or do you mean something completely different? Please elaborate your question.

Thanks

Sireesha

comments: author: Pandu B
body: Sireesha,

Thanks for the response,

But I would like to use link of Subheading entirely outside of the Confluence page means providing that link in my Status mail to team

Is it possible ?


author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Pandu B](/t5/user/viewprofilepage/user-id/1381633),

Yes! It is possible. You can use the link from step 2 in your email. Or copy the link address of any sub-heading you need and use it in your email.

Thanks!
Security Headers missing
Asked by Elizabeth Beck:

Our internal security audit has revealed that our confluence server is missing required security http headers:

HTTP 1.1 (non-HTTPS) - Required headers:

* Content-Security-Policy
* X-Content-Type-Options
* Cache-Control

How do we go about fixing this on our instance?

If we are required to update our version of Confluence to fix this, will this affect our existing Confluence data?


Answers:
author: Shannon S
body: Hi Elizabeth,

Would you be able to let us know what version of Confluence you're using?

Regards,

Shannon


Tags: confluence-server

server
How to change the 'auto-search' preview after linking conf KB and service desk?
Asked by Erlend Verledens:

When a customer enters a ticket, service desk will automatically provide knowledge base suggestions - "We've found solutions that could save you time".

How can I change or influence what preview text is shown? Can I turn it off entirely?

Or is there some sort of best practice? Now it seems to show random snippets containing the search word in the summary.

Thanks


Answers:
author: Stephen Sifers
body: Hello Erlend and welcome to the Community!

Using Jira Service Desk can be very powerful, but as you stated, when you get using it an the wrong knowledge base articles are showing it can be a bit frustrating. WIth that said, here are you available options to guide users to the correct knowledge base articles.

The documentation states the following for Jira Service Desk server in regards to searching knowledge base articles:

* The knowledge base search and the request type search are independent of each other.
* The knowledge base search will display a maximum of 3 results.
* The request type search will display a maximum of 5 results, and:
  * The primary search picks up words that the customer is typing in the **Summary** field, and looks for them in the request type **Name** and **Description**.
  * The secondary search uses JQL queries to find relevant request types based on the request's **Summary** field.

If you wanted to turn off preview text, you would have to completely remove the link or article. There is not an option to remove just the preview text as of now. If you want to see this become a feature, you are welcome to submit a feature request for that here; [Create Feature Request](https://jira.atlassian.com/secure/CreateIssue!default.jspa)

More information about Jira Service Desk and knowledge base articles can be found here:

[What's a knowledge base and why you need it](https://www.atlassian.com/it-unplugged/knowledge-management/what-is-a-knowledge-base)

[Write and search for knowledge base articles](https://confluence.atlassian.com/servicedeskserver/write-and-search-for-knowledge-base-articles-956713329.html)

I hope you find this helpful, please let us know if you do have further questions.

Regards,  
Stephen Sifers


Tags: confluence-server

jira-service-desk

jira-service-desk-server

server
I'm having problems installing draw.io on Confluence.
Asked by mgabb_alcumusgroup:

When attempting to install the Draw.IO plugin on Confluence I am getting the following error

'Problem accessing the file draw.io Diagrams for Confluence.'

I'm getting the following in the atlassian-confluence.log

download Error downloading plugin from [https://marketplace.atlassian.com/download/apps/1210933/version/800100000](https://marketplace.atlassian.com/download/apps/1210933/version/800100000 "https://marketplace.atlassian.com/download/apps/1210933/version/800100000")

Confluence version is 5.10.2


Answers:
author: Marija Radovic
body: Hi Mark.

Do you maybe see an error regarding URL configuration also? If you see it, it probably means that base URL is not configured correctly, this breaks the UPM.

In that case, [this article](https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html?_ga=2.13231410.428571924.1540805927-163507072.1533120118&_gac=1.52504026.1538128470.CjwKCAjworfdBRA7EiwAKX9HeH4lmRQMrezUAK9v66VQdzxGJ0_KFcy5xuejD6rGrREEQ1dmnummBRoCgaAQAvD_BwE) can help you.

If this is not the case, please attach us here a screenshot when the error appears.

Thanks!

Marija


Tags: confluence-server

server
linked jira issue to point to specific place (/anchor) in a confluence page
Asked by kerensho:

Hi,

I have a page in Confluence which contains Jira links to several linked issues in Jira.

when navigating from Jira, I would like the clicking on the link to confluence will take me the exact location in the page from which the Jira issue was created, but instead it takes me to the page's title.

did anyone encountered this scenario? or has an idea for this problem?

Thanks

Keren


Answers:
author: Shannon S
body: Hi Keren,

This is expected behavior, and it's not possible to link to the specific macro which mentions the Jira issue.

There was a feature request for this a while back, but we have decided not to implement it in the near future:

* [CONFCLOUD-34582](https://jira.atlassian.com/browse/CONFCLOUD-34582) *Link from Jira to Confluence doesn't take user to correct location in Confluence*

My recommendation would be to provide the feedback above about your usage case as well as by sending feedback via your Cloud instance.

Hopefully some users have come up with a workaround or two for this exact situation, and will be able to reply to this thread here.

Let me know if you have any questions.

Regards,

Shannon

comments: author: kerensho
body: Hi Shannon,

Thank you for your answer, can you please explain how to "provide the feedback above about your usage case as well as by sending feedback via your Cloud instance."?

the missing functionality would improve the usability of Jira -Confluence integration, as in the current situation you can only go from Confluence to Jira, and if you want to go back to the full description of the issue (in Confluence) - you can't - the linked issue hyperlink will take you to the page heading and then you'll need to search for the specific issue (by its id, for example)

Thanks in advanced

Keren


author: Shannon S
body: Hi Keren,

You can provide the comment on the feature request above, even though it's closed, and the comment will be seen by our developers. You need to make sure you're logged in before you can comment there.

On your Cloud instance, when you click on you profile picture in the left-hand side, there's an option to send feedback to the developers via the menu.

I hope that helps!

Regards,

Shannon


Tags: cloud

confluence-cloud

issue-link
How to configure company logo to header on pdf export
Asked by Romano Sabbatella:

It worked once, but an update broke it a while ago.

We use only the PDF-Stylesheet.

This is our Stylesheet:

1. @page {
2. 
3. background-image: url (\<company url\>/download/attachments/65614/Logo.jpg);
4. background-repeat: no-repeat;
5. background-position: left 90%;
6. 
7. @bottom-left {
8. content: "Company Name"; font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 8pt;
9. }
10. 
11. @bottom-right {
12. content: "Page " counter(page); font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 8pt;
13. }
14. 
15. }
16. 
17. .pagetitle
18. {
19. page-break-before: always;
20. }

Has someone a idea what broke it?  
I checked the path to the pic and this should work.

Thanks for the help.


Answers:
author: kennyngkk
body: Hi There,

It looks like this is due to a bug that causes Confluence to not able to retrieve a link

\* <https://jira.atlassian.com/browse/CONFSERVER-26016>

For additional information, I'd like to provide this link:

* \[Atlassian Bug Fixing Policy\|<https://confluence.atlassian.com/support/atlassian-bug-fixing-policy-201294573.html>\]

I've added your ticket to the tracking of this Bug for reporting on number of impacted clients by this limitation. What I would like to suggest to you and the customer, is to use the link to that Bug report - and be sure to Watch and Vote on the Bug, as this is where you and the customer will be able to see any information available on the bug and any updates we have in regards to workarounds, or possible fixes going forward in future releases.

**Workaround**

As of now use the image from somewhere else such as Google document and insert into the \<image\>. Do remember that the '' is not forgotten.
> @page {  
>
> background-image: url('\<image\>');  
> background-repeat: no-repeat;  
> background-position: left 90%;
>
> <br />
>
> @bottom-left {  
> content: "Company Name"; font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 8pt;  
> }  
>
> @bottom-right {  
> content: "Page " counter(page); font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; font-size: 8pt;  
> }  
>
> }  
>
> .pagetitle  
> {  
> page-break-before: always;  
> }


Tags: pdf

pdf-export
Edit in Office option not available (Chrome, Office 2016, Windows 10)
Asked by Michael Kuhn:

I am running a confluence server at my work, and I'm trying to get Edit in Office working. We have windows 10 systems, Chrome, and Office 2016 with 365 subs.

There is no trace of an "Edit in Office" link in the attachments list. I'm not sure what's missing.

Any thoughts?


Answers:
author: kennyngkk
body: Hi Michael,

Did you update Confluence to one of the newer version lately? You can refer to the knowledge base below to edit the file with Office 2016. Confluence now use a companion app to ensure the Edit with is more flexible.

\* [https://confluence.atlassian.com/confcloud/edit-files-724765124.html](https://confluence.atlassian.com/confcloud/edit-files-724765124.html?)

comments: author: Heing Yeo
body: This link doesn't work.


author: kennyngkk
body: Can you see if you can access it here?

[here](https://confluence.atlassian.com/doc/edit-files-170494553.html)


Tags: confluence-server

server
Seiteneinschr?nkungen deaktivierter User entfernen
Asked by De Lange:

Liebe Community,

ich bin gerade dabei unsere Datenbank zu bereinigen. Mir ist dabei aufgefallen, dass in einigen Seiten noch Einschr?nkungen f?r User, die deaktiviert sind, existieren. Das m?chte ich ?ndern. Deswegen w?rde ich gerne wissen, wie ich all diese "unn?tigen" Einschr?nkungen entfernen kann. Gleichzeitig stelle ich mir die Frage, was passiert, wenn in einer Seite nur eine Einschr?nkung f?r einen User vorhanden ist und dieser deaktiviert ist. Somit w?re gar kein User mehr eingetragen...

Die Abfrage zu den einzelnen Berechtigungen lautet so:

`SELECT` `user_name` `AS` `"Username"``,`` ``active` `AS` `"Status"``,`` ``cp_type` `AS` `"Einschr?nkung"``,`` ``title` `AS` `"Seitenname"``,`` ``user_key`  
`FROM` `CWD_USER a`

`JOIN`` ``(``SELECT` `user_key,`` ``lower_username`` ``FROM` `USER_MAPPING) b`

`ON` [a.lower_user_name](https://www.mnet.markant.de/confluence/pages/a.lower_user_name) `=` [b.lower_username](https://www.mnet.markant.de/confluence/pages/b.lower_username)`JOIN`` ``(``SELECT` `cp_type,`` ``username,`` ``cps_id,`` ``groupname`` ``FROM` `CONTENT_PERM) c` `ON` [b.user_key=c.username](https://www.mnet.markant.de/confluence/pages/b.user_key=c.username)

`JOIN`` ``(``SELECT` `content_id,`` ``ID`` ``FROM` `CONTENT_PERM_SET) d`

`ON` [c.cps_id](https://www.mnet.markant.de/confluence/pages/c.cps_id) `=` [d.ID](https://www.mnet.markant.de/confluence/pages/d.ID)`JOIN`` ``(``SELECT` `contentid,`` ``title`` ``FROM` `CONTENT) e`

`ON` [d.content_id=e.contentid](https://www.mnet.markant.de/confluence/pages/d.content_id=e.contentid)

`WHERE` `active =` `'F'``ORDER` `by` `user_name` `ASC``;`

?ber R?ckmeldungen freue ich mich sehr. Ziel ist wie gesagt, das Entfernen dieser "unn?tigen Einschr?nkungen".


Answers:
author: Dirk Lindner
body: ist die Frage noch offen?


author: Fabienne Gerhard
body: Hi [@De Lange](/t5/user/viewprofilepage/user-id/2114183)

sorry for not being able to help you for your main question.

According to your second topic which also includes personal space, there is an opportunity to get access to [personal spaces after removing users from LDAP](https://confluence.atlassian.com/confkb/personal-space-disappears-after-removing-user-from-ldap-294486514.html) - this should work for any space that belongs to this person as well.

As a confluence admin you should have access to any site.


Tags: confluence-server

database

server

sql
How to restore a deleted space in Confluence?
Asked by Sergey Shulzhenko:

How can i restore my deleted space


Answers:
author: Fabio Racobaldo _Herzum_
body: Unfortunately, you can't restore without a backup.

Ciao,

Fabio

comments: author: Sergey Shulzhenko
body: Nnnnnnooooooooooo!!!...........


author: Sergey Shulzhenko
body: Thank you Fabio, but if i haven't?..

comments: author: Bill Bailey
body: Then you are out of luck. Best to check your auto backup directory.

Once you find it, I would also suggest setting up a testing server and restoring the site backup to it. Then you can export just that space from the testing server and reimport into the production.


author: Fabio Racobaldo _Herzum_
body: Hi [@Sergey Shulzhenko](/t5/user/viewprofilepage/user-id/1671770),

if you have a confluence backup, you could restore a single space within your Confluence instance. <https://confluence.atlassian.com/doc/restoring-a-space-152036.html>

Hope this helps,

Fabio
Information Required
Asked by Hareem Khizar:

How to add cell spacing and cell padding in a table?


Answers:
author: Amith Mathur _Appfire_
body: Hi [@Hareem Khizar](/t5/user/viewprofilepage/user-id/2126230),

What is the version of Confluence you are using.

Though there is no such feature to add cell spacing and cell padding in a table at present, there are few options that you can look for.

As discussed [here](https://community.atlassian.com/t5/Confluence-questions/How-can-I-change-the-spacing-between-lines-in-a-table-cell/qaq-p/666037), you can do a little bit of coding as described in this [link](https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html?_ga=2.21733435.1605117927.1540785202-230607409.1540785202).

You can refer the [Tables](https://confluence.atlassian.com/doc/tables-136463.html) page.

Also, check the [Advanced Tables for Confluence](https://bobswift.atlassian.net/wiki/spaces/TBL/overview) add on which has the [styling table row](https://bobswift.atlassian.net/wiki/spaces/TBL/pages/67830754/Styling+Table+Rows) option.

Thanks,  
Amith Mathur


Tags: confluence-server

server
how to search for @users in articles?
Asked by Silas_Sulser:

Hi guys

How can we search for specific @\[deleted\] in confluence articles?

The case: we have mentioned a responsible person and a deputy in every article to make sure that the content is up to date.

But we have no idea how to search for our own name to see the articles where we are responsible for.

Do you have any suggestion?


Answers:
author: roman
body: Hi [@Silas_Sulser](/t5/user/viewprofilepage/user-id/2201478),

1. Go to search page -\> <{baseURL}/dosearchsite.action> (or type anything in the search field on the right and hit Enter)
2. On the search page click "Add a filter" link on left ? Select "Mentioning user"
3. Start typing the user's name and select the one you need
4. The results will show the list of pages where a particular user is mentioned

Roman.


author: Petr Van??ek
body: Hi,

I just try it like it's mentioned here: <https://community.atlassian.com/t5/Confluence-questions/Re-Search-pages-based-on-Mentions/qaq-p/116173/comment-id/19328#M19328>

And it's working for me, if it is what you exactly want.
Recover Confluence after Server Crash
Asked by Alexander Hauedk:

Hi,

is it possible to recover an Confluence-Installation when only the Database (Microsoft SQL) and the file folders still exist?

Our Confluenceserver crashed and can't be brought back in a bootable state (even with the Veeam backups made).

I can access the Confluence folders via share and the Database is still there.


Answers:
author: Petr Van??ek
body: Hi,

what you exactly mean with "Confluence folders"? Install or data directory or both of them?

If you have data directory, then it's not bad and you cal follow steps defined below (but backup your data first).   

I you have database and data folder, then you can download ZIP or TAR.GZ package of Confluence (<https://www.atlassian.com/software/confluence/download>)

Then extract it and follow step 1 and 2 in this tutorial (if you are using Windows change by clicking on Windows link) - <https://confluence.atlassian.com/doc/installing-confluence-on-linux-from-archive-file-255362363.html>

From step 3 do only sub-steps 3 and 4.

Then try to start your Confluence instance.

Let me know if it's help or give me more details.

comments: author: Alexander Hauedk
body: Yeah i have both (install and data).

I'll try your suggestion and let you know, thanks :)


author: Alexander Hauedk
body: Hi,

its running again, unpacked the archive, modified the config where necessary and had my old folders overwrite the ones from the archive.

Had to run the Installation exe still and doing an upgrade though (looks like I missed the correct Version bit).

After that it started.

Thanks again !


author: Petr Van??ek
body: You are welcome! :-)


Tags: confluence-server

server