youngmon/atlassian-qna huggingface dataset:
Global Anonymous View Not Restricting View Access
Asked by Tim Patton:

In a single space, anonymous access for view is allowed. Global anonymous view access is not allowed.

We get a warning that "**Anonymous users can't view this space** because global anonymous 'Use Confluence' permission is currently turned off."

However users without access to this space can still view the space. Our expectation is the global anonymous permissions would override the space permissions as the warning indicates.

We are using Confluence v6.7.2.

![image.png](/t5/image/serverpage/image-id/28539i739A848F10695A08/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Michael Ries
body: I?m not sure if someone is still reading this, but we are having exactly the same issue. [@Moses Thomas](/t5/user/viewprofilepage/user-id/1138700) you are missunderstanding the point im afraid.

The problem is as [@Tim Patton](/t5/user/viewprofilepage/user-id/777503) described. If you are a logged in user and u give view permission to anonymous inside a single space, for any reason - and i can?t figure out why right now - logged in user who shouldn?t have view permission are able to view the site.

The anonymous functionality works just fine. Users who arent logged in can't see anything. And if anonymous is both disabled in global + space there aren't any issues either. But as soon as you enable view permissions in one Space and you are logged in user without any permission, you are able to view that certain space.

Can some explain if this is intended? If I am missing smth? Or if there is a fix to it?

thank you

cheers


author: Moses Thomas
body: [@Tim Patton](/t5/user/viewprofilepage/user-id/777503)You will need to login to confluence as confluence administrator and the go to the Admin button \> general configuration \> global permission \> on this window you need to set global permission for anonymous user that is check **can use in the setting and save it will be marked with good** . Then it will work.

OR click the global permission link from the image you have provided It will take you to this page .

Best!
Meeting Notes situation in Confluence
Asked by Thomas Wynne:

I'm all for changes, updates and new features but why does Atlassian think it's okay to release code which makes a solid feature practically unusable in production? I use the meeting notes feature every day and when I come back from vacation my customized template looks terrible because the switch to a 'fixed width' instead of using the entire screen (terrible design decision btw).

On top of that, I can't edit my template to help fix the visual issues because they removed the editor for the meeting notes template (didn't figure this out until after I reset the template thinking I could recreate it).

And now I'm stuck with the default meeting note template that doesn't fit my business needs at all. I don't mind updates and changes, but you can't put things into production unless they are ready.. which means at the very least we should be able to edit a template so that we can customize it for our needs.

Very frustrated with your mind set and thinking this is something that is okay to do.


Answers:
author: Daniel Eads
body: Just chiming in that an Atlassian product manager has a [discussion thread going about meeting notes](https://community.atlassian.com/t5/Confluence-discussions/A-new-way-to-capture-meeting-notes/td-p/857110) posted earlier this week. I'm forwarding your feedback to him but just letting you know he's actively monitoring that other thread.

Cheers,  
Daniel


author: Davin Studer
body: Yeah, I'm not a huge fan of the new cloud editing experience. I like the new table editor, but the fixed width centered view is not terribly attractive in my opinion. I'm also bummed to not see justification or page sections.

However, it looks like this is just applied to the default meeting notes template. You could create your own template based on the default one and you should get the old editor back.
Can we create macro for tables
Asked by Ye:

Is it possible to create a macro for tables? The use case here is suppose I have a table for book summary.

\[book name\] \[text\]

\[book author\] \[text\]

\[book summary\] \[text\]

Instead of copy-and-paste the same table multiple times for each book, how do I create a template/macro for a table? Doesn't seem like there is a way currently... is there an add-on for this?


Answers:
author: Kimberly Deal _Columbus ACE_
body: [@Ye](/t5/user/viewprofilepage/user-id/1742043) Welcome to the community!

Does this table need to be shown multiple times on the same page or are you doing a new page for each book? I have set up a page template that includes tables, but the page is pretty formulaic for each item (its an index of plants I have in my garden)

To create a new template,

Go into the Space Settings and click on Content Tools. There you can create new templates. and save them for future use. It will save your layout. I put in place holders that describe the information that needs to go in each section or table.

Hope that helps!

Also here are some links to Atlassian documentation on Templates:

<https://confluence.atlassian.com/doc/page-templates-296093785.html>

<https://confluence.atlassian.com/conf64/create-a-template-936510776.html>
Error with pdf macro
Asked by valerian Baillet:

Hi,

I use the macro pdf for my pdf file in confluence. But sometimes I had a wrong view with the macro. I attached a file to show the problem.

I see some topics on this subject but haven't see some good answers. The differents pdf (good or bad) have the same versions and the same size so the probelm is not here.

![Capture.JPG](/t5/image/serverpage/image-id/28522iC82582951A0E18EE/image-size/large?v=v2&px=999 "Capture.JPG")

Somebody have an idea?

Best,


Answers:
author: AnnWorley
body: Hi Valerian,

I understand some .pdf files do not render as expected using the pdf macro in Confluence. The symptoms you are experiencing are similar to the issue described in: [Confluence UI shows garbled or corrupt text on CAPTCHA, macros and/or diagrams due to missing fonts](https://confluence.atlassian.com/confkb/confluence-ui-shows-garbled-or-corrupt-text-on-captcha-macros-and-or-diagrams-due-to-missing-fonts-938027858.html)

Questions to ask for diagnosis are:

* Did you upgrade Confluence Server recently to a new version?
* Are you running an older version of a Linux distribution that is behind current release cycle (possibly more than 3+ years old)?

Thanks,

Ann

comments: author: valerian Baillet
body: Ok, I will see this

thanks,


Tags: confluence-server

macro

server
Trouble changing Confluence to listen on port 80
Asked by Jeffrey Filmore:

I have Confluence 6.8.3 installed on Linux Ubuntu 16.04 LTS server. Everything fine except, when I try to change the confluence listening port to 80 (from 8090), confluence will not load. I'm a bit baffled because I did seemingly the same steps in my test environment and port 80 worked like a charm. I basically change the connector port from 8090 to 80 as directed in the following article.

<https://confluence.atlassian.com/doc/change-listen-port-for-confluence-165823.html>

From what I have gathered from searching google for a couple hours it's sounds like it could potentially be one of the following:

* port 80 is restricted from being used within Ubunu OS security kernel (though, In my researching this would be if you run confluence as user other than root, however I am running confluence as root user from what I can tell. <https://community.atlassian.com/t5/Confluence-questions/Running-Confluence-on-Port-80/qaq-p/219911>
* Some other service is conflicting with port 80. Since this is a fresh install, I highly doubt this would be the issue.

One other thing I noticed was that confluence installed to a different directory on my test server. **\\home\\atlassian\\confluence** as opposed to my production server installed to **\\opt\\atlassian\\confluence**. Could this be the problem?


Answers:
author: Jeffrey Filmore
body: I figured it out. It was that confluence service was being started by user "confluence" rather than our designated admin account. All I had to do was change the user.sh file.as discussed in this article: <https://confluence.atlassian.com/confkb/how-to-change-the-user-starting-confluence-with-start-confluence-sh-script-633439533.html>

I guess the confluence user didn't have sufficient rights to use port 80

comments: author: AnnWorley
body: Hi Jeffrey,

As you discovered, because of restricted ports in Linux, the confluence user most likely did not have access to port 80: [Permission denied error when binding a port](https://confluence.atlassian.com/confkb/permission-denied-error-when-binding-a-port-290750651.html)
> Ports below 1024 are called Privileged Ports and in Linux (and most UNIX flavors and UNIX-like systems), they are not allowed to be opened by any non-root user. This is a security feature originally implemented as a way to prevent a malicious user from setting up a malicious service on a well-known service port.

I am happy you found a resolution that works for you. There are other approaches described in the article I linked above.

Thanks,

Ann


Tags: confluence-server

server
How can I build a hierarchical report in Confluence?
Asked by Gabor Nagy:

Hi,

Management would like to see in our Confluence a page, which lists all the Stories grouped by Epics and filtered by planned Release.

We have now a page that provides the required information but took long to put together and needs manual maintenance if Epics are added or if the planned release is changed.

I would like to know if there is a better way to achieve similar results. Better = less typing to create it and 0 maintenance, i.e. no manually entered issue keys.

The page source looks like this at the moment:

{Jira key=MY-483}

{Jira fixVersion in ( Release1, 1.1, 1.2) AND IssueType = Story AND "Epic Link" = MY-483}

{Jira key=MY-481}

{Jira fixVersion in ( Release1, 1.1, 1.2) AND IssueType = Story AND "Epic Link" = MY-481}

etc.


Answers:
author: AnnWorley
body: Hi Gabor,

It sounds like you can build the report using the [Jira Issues Macro](https://confluence.atlassian.com/confcloud/jira-issues-macro-724765217.html) with [Advanced searching](https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-764478330.html). Please note on the Jira Issues Macro doc that you can edit the macro to display more fields from Jira, like Epic Name, Epic link, etc.

I look forward to hearing if that works for your case.

Thanks,

Ann


Tags: cloud

confluence-cloud
How to map business processes and capabilities to their corresponding applications and sub-functions
Asked by Doel Sarkar:

I want to store high-level business rule extracted from code components in the Confluence tool and map with business processes? Is it possible to do so using Atlassian Confluence? I want to store three-levels of information.


Answers:
author: Zak Laughton
body: Hi Doel,

I'd like to get some more information to better understand your question. Could you please elaborate on what you're trying to build? (e.g. What is your end goal for having this implemented? What do you want to accomplish in your environment? Can you provide a specific example you'd like to see with this functionality?)

Thanks!  
-Zak


Tags: cloud

confluence-cloud
Confluence CLI to remove permissions ALL spaces (personal & global)
Asked by Ashley Rhodes:

HI,

Hoping someone can help me, im using Confluence CLI add on to remove and add some permissions on the all spaces (inc personal) - I'm trying to make Confluence read only without having to use the expired license trick.

These are my current steps.

#Make CSV list of all spaces.  
confluence --action --personal getSpacePermissionList --personal --file 1list.csv --columns space,id  
#Remove all permissions. Using the CSV  
confluence --action runFromCsv --file 1list.csv --common "--action removePermissions --permissions [@AlL](/t5/user/viewprofilepage/user-id/856820)"

This works for all global spaces, but its unable to remove from Personal spaces.


Answers:
author: Fadoua
body: Hi Ashley

There is a SQL query that can do that, in fact we used it recently:

<https://confluence.atlassian.com/confkb/how-to-remove-all-restrictions-from-pages-within-a-space-701268549.html>

You have to do it in Dev first then try it in Prod. Keep in mind you will have to restart Confluence.

Best,

comments: author: Fadoua
body: Here is another [link](https://confluence.atlassian.com/confkb/how-to-remove-all-restrictions-from-a-specific-page-via-the-database-834207785.html)


Tags: bob-swift

cli

permission

space
How do you make an external link open in another window?
Asked by Jeremy Jones:

How do you make an external link open in another window? The answer given through the Q \& A Form does not correspond with my version as I don't have an HTML option. Is there another way to do this without HTML?


Answers:
author: Fadoua
body: Hi Jeremy,

Are you a Cloud or Server user? If Server what version please?

Best,

comments: author: Jeremy Jones
body: Hi,

Atlassian Confluence 6.7.2

Thank you.
Modify or Remove restrictions automatically when moved to diff spaces?
Asked by Nithin Kumar Jonnala:

How to Modify or remove restrictions automatically when moved into diff space

or

is it possible to modify restrictions automatically depending on space level or inherited restrictions


Answers:
author: Nithin Kumar
body: Oh that's good, can you please provide the "listener" documents and,

Is it possible to prompt for the page while trying to restrict


author: Nithin Kumar Jonnala
body: is there any way to make sure that perticular space pages mandatory should not contains restrictions,

means , my space should be public and no restrictions should be apply on my pages ,

like this can we set anything like mandetory "No Restricton".

comments: author: Ada Chen
body: Hi [@Nithin Kumar Jonnala](/t5/user/viewprofilepage/user-id/1740428) - So you want to make all spaces and pages unrestricted/open to everyone? There's no way to make this "mandatory", it's pretty much the default. However, you could make sure that you are the only space admin, so you are the only user who can control space permissions.


author: Nithin Kumar Jonnala
body: okay, i should prompt my users when ever they are made an page with edit restrictioned or view restricted as to inform me and author of page


author: Nic Brough -Adaptavist-
body: They will have put those restrictions on their pages, and for good reasons.

It sounds like you are trying to control everything, which is simply not what Confluence is designed for. It's for working together, not having an editor control everything manually.

If you insist on doing this sort of thing, you're going to need code. A "listener" can catch when pages are updated and do things with them, including sending email, but you're "making a rod for your own back" by trying to do this.


author: Ada Chen
body: Hi [@Nithin Kumar Jonnala](/t5/user/viewprofilepage/user-id/1740428) - I'm not sure I follow what you mean. Space permissions will supercede page restrictions. So if your page lives in a space with space permissions, those will apply regardless of whatever you're trying to do to the page restrictions.


author: Nithin Kumar Jonnala
body: thanks [@Ada Chen](/t5/user/viewprofilepage/user-id/1182244) glad to see you,

i need info about how can we restrict pages should not have "Restrctions"

for a perticular space .


author: Ada Chen
body: Hi [@Nithin Kumar Jonnala](/t5/user/viewprofilepage/user-id/1740428) - If I understand your question correctly, you want to change the permissions on a page when you move it to a different space.

If you move a page to a space with space-level restrictions, those restrictions will apply to it. So, if you move the page from a space without space-level restrictions to a page *with* space-level restrictions, it will be viewable by the users in that space.

Let's say you are moving a page to become a child page, where the parent page has restrictions...then the parent page's restrictions will apply.

More details here: <https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html>
Something like a Masterpage comparable to a Masterpage in Adobe Indesign.
Asked by Tom Sch?lke:

Hi everyone..   

We?ve got a Confluence Wike Space, where some of the information will repeatedly be seen on all other Child Pages of the Space.. and info for example ore a Tip..

So i thought of creating in this Space a "Master Page" and wanted to embed this Master Page by Script if available into the other Child Pages as a header.. even Better i wanted to force the Authors, to use a template for new pages thatforces them to use a script that shows the content of the master page on each new page.. as a header...

this way if there where any changes in the information i would only have to change it on the masterpage... and on all child pages it would change automaticaly..

is there a way to make something like this ?


Answers:
author: Robert Reiner _smartics_
body: Maybe the [Excerpt Macro](https://confluence.atlassian.com/doc/excerpt-macro-148062.html) / [Excerpt Include Macro](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html) (single excerpt) or [add-ons on the Atlassian Marketplace](https://marketplace.atlassian.com/search?query=multi-excerpt) (for multi-excerpt) support your use case?

Changes in one place (e.g. defined with the Excerpt Macro) will be reflected in all referencing places (using the Excerpt Include Macro).

For some use cases the [Page Include Macro](https://confluence.atlassian.com/doc/include-page-macro-139514.html) would probably also work (but I have not used this macro myself).

comments: author: Tom Sch?lke
body: thanks, i will try this


author: Fabienne Gerhard
body: Hi [@Tom Sch?lke](/t5/user/viewprofilepage/user-id/1718026) - did you try creating a [template](https://confluence.atlassian.com/doc/page-templates-296093785.html)? You can create them for each space or global.

There was an interesting discussion a few weeks ago where people [showed their templates](https://community.atlassian.com/t5/Confluence-discussions/We-want-to-see-the-templates-you-ve-created-in-Confluence/m-p/841132#M2429).

Not sure about forcing - maybe someone who is more into coding could help you here.
Confluence 5.5.6 server move, create page button now missing from header.
Asked by David Nicholls:

We had a server failure and so had to move Confluence. It appears to be fully working apart from missing the button to create a page.

I have seen some suggestions about a possible license problem but it is reporting that we have a 25 user license and users are able to edit existing pages and add comments.

Our license support has expired but as it is a server then the license itself should be still valid.

Running on a Windows PC.


Answers:
author: Suhas P
body: Looks like License issue only. Try using Evaluation license and check if it works again just to confirm.

comments: author: David Nicholls
body: I applied an evaluation license which only messed up plugins so that very little rendered properly and made usage impossible. Fortunately reverting the license has at least made the site accessible again.

Within the mess on the screen with the evaluation license there was still no create button showing.


author: David Nicholls
body: I have now reduced my user count to under 10 so that I can apply a full 10 user license. This has not fixed any issues. I have the following shown on the main screen:

![conf_render.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/28946iCAA6C2ACD9635E1C/image-size/large?v=v2&px=999 "conf_render.PNG")

If i try to manage add-ons I get this:

![ConfAddons.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/28947i0B65810DA1660DDD/image-size/large?v=v2&px=999 "ConfAddons.PNG")

None of the add-ons are shown so I can't do anything to get them going again.

I have tried re-installing confluence in case there are some broken files. I have tried deleting the plugin cache folders and restarting.

This getting frustrating as users are now unable to access important information.


author: Suhas P
body: Check if the all directory/folder structure is owned by Confluence user and has correct permissions. Also check Confluence user or user running the application has permissions to run the application.

Also it is better if you refer logs, you will see more details. Do you see any errors in logs?

If nothing works, good idea to contact Atlassian support so they can go though all logs and support zip.


author: David Nicholls
body: I think (hope) that making sure that the folders were given different permissions has solved the issue. After a server reboot it now appears to be operating correctly including being able to create pages.

Time for a backup now!

Thanks.


author: Suhas P
body: Thats good to hear. :) Did you know why/how the permissions were changed?


author: David Nicholls
body: I'm not sure that they were changed, but it may be that when I installed Confluence, my login didn't have the correct ownership/permissions.


Tags: confluence-server

server
cant install confluence due to wrong coallation, but its all set up correctly
Asked by Patrick Einatz:

i'm trying to install confluence on my server, where jira is already running with no issues. i downloaded and installed the package to my ubuntu 16.04. server and also installed the `mysql-connector-java-5.1.46 `

`i changed my "my.cnf" as recommended:`

![mycnf.PNG](/t5/image/serverpage/image-id/28487iD690A546D04E7998/image-size/large?v=v2&px=999 "mycnf.PNG")

`and my database is also set to the correct collation:`

![mysql.PNG](/t5/image/serverpage/image-id/28488iC78F9FF7AA03C739/image-size/large?v=v2&px=999 "mysql.PNG")

`but when i'm trying to install or rather connect confluence to my database i get this error:`

![error.PNG](/t5/image/serverpage/image-id/28490iB2C6B2E839FE5BA4/image-size/large?v=v2&px=999 "error.PNG")

`please help!`


Answers:
author: Shankar Asam {Appfire}
body: Hi,

Could you please run this command on MySQL prompt and provide us the results;

mysql\> show variables like '%collation%';

thanks

comments: author: Patrick Einatz
body: ![Unbenannt.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/28500i7B2E2765F241DF20/image-size/large?v=v2&px=999 "Unbenannt.PNG")wow, you sir nailed it.... so how can i adjust my collation_connection value... thank you so far.


author: Patrick Einatz
body: ok, i managed to set this on my own.... but i still get the same error :-(

![Unbenannt.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/28502i34A876495FA71613/image-size/large?v=v2&px=999 "Unbenannt.PNG")

any ideas? do i have to do the whole installation process again ?


author: Shankar Asam {Appfire}
body: Hi Patrick,

There are other areas that you need to take a look at for collation and character set in MySQL.

As per atlassian's document below, collation in MySQL can be complicated because you can have a separate collation set at:

1. The database level
2. The table level
3. The column level

<https://confluence.atlassian.com/confkb/how-to-fix-the-collation-and-character-set-of-a-mysql-database-670958160.html>

<https://confluence.atlassian.com/kb/how-to-fix-the-collation-and-character-set-of-a-mysql-database-744326173.html>

The above links might helpful.

Good luck.


author: Patrick Einatz
body: ok, after adding this to the "/etc/mysql/my.cnf" file

    init-connect='SET NAMES utf8'init_connect='SET collation_connection = utf8_unicode_ci' skip-character-set-client-handshake

i rebootet mysql and launched following command once again and then it worked

    ALTER DATABASE yourDB CHARACTER SET utf8 COLLATE utf8_bin

thank you very much for your help` Shankar Asam`  

`best regards`


author: Shankar Asam {Appfire}
body: you are welcome :)


Tags: confluence-server

server