youngmon/atlassian-qna huggingface dataset:
Custom administrative privilege separation in Confluence
Asked by Oleksiy Brushkovskyy:

Hi there,

I need to separate Confluence Administrators privileges from Confluence System Administrators for security reasons.

I've created 'confluence-app-administrators' group and assign appropriate roles of ordinary administrators to it in accordance with Atlassian docs. Now these administrators can create and manage new spaces and do some admin tasks. It's OK.

But there is a problem: How to elegantly grant them access to all **existing** spaces without adding this group to each space by hands? We have 400+ spaces... Is there some XML or whatewer with default 'hardcoded' group permissions to expand?

Thank you.


Answers:
author: Oleksiy Brushkovskyy
body: I wrote the following helper query (PostgreSQL), that shows what spaces currently don't have the full set of 14 permission types for my group 'confluence-app-administrators':

```
SELECT row_number() OVER (ORDER BY spacekey) AS "Counter", spacekey AS "Space Key" FROM spacesWHERE spaceid NOT IN ( -- subtract spaces that have all necessary permission ids from all existing spaces SELECT spaceid FROM (  SELECT spaceid, count(permtype) AS perms FROM spacepermissions  WHERE spaceid IS NOT NULL AND permgroupname='confluence-app-administrators'  GROUP BY spaceid ) AS ok WHERE ok.perms=14 -- check if all 14 possible permission types are assigned to confluence-app-administrators in particular space) ORDER BY spacekey ASC
```

In theory, this query can be used to build fully automated permission propagation. But it is enough for me.


author: William Zanchet [Atlassian]
body: Hi Oleksiy,  

Actually the only way that I can think, is through the database. If you have expertise in queries/trigger, you can automate this procedure.  

The following query can give us some good information about the permissions that each space has, and what group belong such privilege:  

```
select * from spacepermissions sp inner join spaces sa on sp.spaceid=sa.spaceid;
```

This is just an idea, not sure how to execute this change. If you'll play with your database, please do in a test enviroment with your data, that way you won't affect your business.  

Cheers,  

WZ

comments: author: Oleksiy Brushkovskyy
body: Hi William,

I would try to avoid direct DB querying. Also because this solution doesn't prevent space administrators to remove mentioned group from space permission list and lose control over the space.

Maybe it is possible to disable some changes in space permission list for non-system admins, as it done with built-in 'confluence-administrators'?


author: William Zanchet [Atlassian]
body: Hey Oleksiy,  

From what I could understand, if you not belong to the 'confluence-administrators' you won't be able to touch the space permission.  

As far as I know, the privileges that 'confluence-administrators' group has, is inside of our code. That's the key.  

Cheers,  

WZ


author: Oleksiy Brushkovskyy
body: So, the only way to resolve the problem is to periodically update group permissions of all spaces directly in DB. Isn't it?


Tags: confluence-administration
email notification does not work when watching a Page Tree
Asked by Krzysztof Rogala:

We are experiencing intermitent issues with the email notification functionality for users who are watching a page tree. it looks like the first email gets generate fine, but some subsequent emails are never generated. they do not show up in the email queue and never show up in user's bailbox.


Answers:
author: Krzysztof Rogala
body: It turns out that the problem we were experiencing was due to Zen Foundation theme. That issue has now been resolved.


author: hsuhailah
body: As far as I know Cofluence do not have the ability to watch Page Tree. However, [Descendant Notification Plugin](https://plugins.atlassian.com/plugin/details/260) can do the job. Are you using this plugin instead? If otherwise, perhaps you can elaborate further how are you watching the page tree?

comments: author: Krzysztof Rogala
body: We are using the Zen Foundation plugin (ver 5.2.8) and all spaces are themed based on a Zen theme. It supports Page Tree watching.


author: hsuhailah
body: Thanks for your reply. It seems that the issue lies on Zen Theme. I'd suggest you to directly contact the plugin author at support@stepstonetech.com for further assistance.


Tags: email

page-tree
How to remove / hide child pages list in OnDemand 5.1?
Asked by Robert Lauriston:

I came across this:

<https://answers.atlassian.com/questions/47875/how-to-remove-hide-child-pages>

which says to use Custom HTML, but there's apparently no Custom HTML in OnDemand.

Since we're probably going to want to use Google Analytics as well, I'm thinking that we need to switch from OnDemand to installed.


Answers:
author: Marlon Aguiar
body: Hi Robert,

Inserting HTML in Confluence OnDemand was removed due to security concerns and it's currently listed on OnDemand's [Restricted Functions](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) page. If you really need to use HTML the solution would be indeed going to a Installed self hosted instance.

Hope it helps!

Regards,  
Marlon

comments: author: Robert Lauriston
body: Thanks, OnDemand really seems to offer too limited a subset of Confluence's capabilities.


author: Matt Painter
body: That doesn't really answer the quesiton, Marlon. How does one hide the child page list in OnDemand Confluence? Or can't you? We're using the children macro in the page itself, so listing the children again is redundant and confusing.


author: Daniel Borcherding
body: Matt,

Without the use of Custom HTML it is impossible to obfuscate the display of the child pages.

You could try nesting the child page you wish to hide a couple levels deep and limiting the depth of the child macro search.

There is no good way to completely remove the display of these child pages. Sounds like yet another feature request.


author: Aaron Weber
body: Man this sucks! I have OnDemand Confluence as well and want to remove the dang child pages from the bottom of each page. WTF, how can this not be an option to remove this. The information is already in the left side nav!!! I have spent 3 hours now chasing down this problem. From old Confluence posts that do not apply to new UX of confluence. To looking for this damn Confluence HTML Marco that is not included in OnDemand! What a pile! Please check out [squarespace.com](http://squarespace.com)for a good UX experience. This is 100000x more complicated than it should be!!!


author: Robert Lauriston
body: I gave up on OnDemand right after posting this question. It's OK for some basic things but nothing like the flexible platform installed Confluence is.


author: beth b
body: Every once in a while, someone says exactly what you needed to say. Today is that day and @aaron weber, you are that person. With OnDemand the little things seem very, very, very hard. Disappointing and frustrating experience on the whole.


Tags: cloud

confluence-cloud

html
wiki links not working
Asked by Pradeep Brahma:

Hi,I tried to insert a html link as below for global timezone displaying withing a table of my page.I used the link -\>weblink option in wiki page .After I click insert the same clock is visible in edit page .But when I save the page the link and clock are getting eliminated .Any clue to make the link retain in the same place and have the clock display over there and any work around for the same ?the link is below:\<iframe src="https://freesecure.timeanddate.com/clock/i3p6rpvu/n75/fn11/fs12/fc0b253e/tc478ccc/ts1" frameborder="0" width="45" height="18"\>\</iframe\>Thanks ,Pradeep


Answers:
author: Pradeep Brahma
body: Hi,

I got a clue to enable HTML macro for this to make it work.but can we add the same link or any conversion,without enabling the HTML macro.as i checked,the HTML macro enabling may leads to security threats for the site.

any alternate option please ,if you can suggest.

thanks in advance,

Pradeep


author: Pradeep Brahma
body: [Downvote](../../vote/185956/down/ "Downvote this answer") Mark as best answer  
![](../../upfiles/user_icons/cached/nophoto_icon128.png)  

### [**Pradeep Brahma**](../../users/63383/pradeep-brahma/)? 1 karma ? 2 secs ago {#toc-hId-1424151331}

Hi Hanis,

Just trying to narrate more on this:

I have one wiki Home page:

here is a table named by :Global TimeZone

here I have two field Country,Time and for the "Time" Field ,I want to set the link from below HTML page.

\<iframe src="https://freesecure.timeanddate.com/clock/i3p6rpvu/n75/fn11/fs12/fc0b253e/tc478ccc/ts1" frameborder="0" width="45" height="18"\>\</iframe\>

Now while in editing ,i go for link--\>weblink--\> and insert the above link.the clock is visible.but when i save the same,the clock and link are getting eliminated.so what wud be the work arround and why this is happening to have an idea to resolve the same.thanks for your response.please let me know if you need screen shots any more info on the same.

Regard's

Pradeep


author: Pradeep Brahma
body: Hi Hanis,

Just trying to narrate more on this:

I have one wiki Home page:

here is a table named by :Global TimeZone

here I have two field Country,Time and for the "Time" Field ,I want to set the link from below HTML page.

\<iframe src="https://freesecure.timeanddate.com/clock/i3p6rpvu/n75/fn11/fs12/fc0b253e/tc478ccc/ts1" frameborder="0" width="45" height="18"\>\</iframe\>

Now while in editing ,i go for link--\>weblink--\> and insert the above link.the clock is visible.but when i save the same,the clock and link are getting eliminated.so what wud be the work arround and why this is happening to have an idea to resolve the same.thanks for your response.please let me know if you need screen shots any more info on the same.

Regard's

Pradeep


author: hsuhailah
body: I'm afraid I don't quite get the whole picture of this problem, could you capture a screen cast instead using <http://www.screenr.com/> and then provide the link here?


Tags: link
I'm having an issue with the layout of Blog pages (zen intranet)
Asked by jaspercastillo:

Attached is a screenshot of my personal Confluence site which I use to blog. I don't encounter this Pages and Dashboards -- only when I click on Blog or open a blog entry.

As you can see, the main content panel overshoots on the right side. But when I resize my browser window after the page loaded, or even opening Chrome Web Developer tools, the layout gets fixed. It seems to only happen on first load.

![blog layout issue](http://i42.tinypic.com/155468j.png)


Answers:
author: Darryl Duke
body: Rats. Sorry for that! We're aiming for the end of this week. I can also send a pre-release to try on your test server if you'd like to confirm the fix. If so, please send an email to [support@stepstonetech.com](mailto:support@stepstonetech.com?subject=Zen%205.2.9%20Preview) and we'll hook you up!


author: jaspercastillo
body: Great! It worked. I'll just wait for the release of 5.2.9. Thanks!

comments: author: Thorsten Ro?ner
body: How did you finally got it fixed? It sounds like it didn't work for you in the first place?


author: jaspercastillo
body: Same here. Tried it also on my site and the issue is still there on 5.2.8. When will 5.2.9 be released?


author: Thorsten Ro?ner
body: Hi Darryl,when will 5.2.9 be released? I tried to mentioned workaround and added the blog navigator (tried both sides), but the problem remains (<https://w3.osiam.org/display/ZLInews/2013/07/02/MIT+licenced+OAuth2+and+SCIM+v2+implementation>).ThanksThorsten

comments: author: jaspercastillo
body: Send an email to the address Darryl gave. They provided me with an early build of 5.2.9 and it worked.


author: Darryl Duke
body: Hi Jasper,

That's a bug (fixed in 5.2.9) that appears when blogs are displayed without a side column. Please have a look at the "New Blog Navigator Setup" section at the bottom of <http://www.stepstonetech.com/display/help/Blog+Master>, which shows you how to add a column containing a blog browser (and fix the above issue at the same time).


author: Thorsten Ro?ner
body: I have exactly the same problem, any help appreciated :-)


Tags: addon-com.zenfoundation.lightning.intranet

blog
Excerpt include macro
Asked by ashan:

I understand that this macro works across-space in latest versions. My question is, if I use it to pull content from space A to B, will the relative links now point to pages in space B as it should?


Answers:
author: ashan
body: I am using inter-space relative links meaning the link does not contain any space key; Just the page title. So when a user clicks it, the link should direct to that specific page in the **current** space.

Say I use excerpt-include macro to pull content from space A to B. Ideally, inter-space, relative links in space A should point to space B after the macro pulls content over to space B. This does not happen so with include-page macro. My question is does it happen so in excerpt-include macro? If so I will be thrilled. :)

Thanks you so much for taking the time to answer.


author: Steve Goldberg
body: I think it depends on how you've done the links. It is possible to get them to always point to a specific URL using variables in a user macro (such as $space.Key) but if you use the standard way of using Confluence links then it'll always point to precise page that you're referring to.

Without any more information about what it is exactly you've done / trying to do it's hard to say.


author: ashan
body: any chance of an answer please?


Tags: excerpt
Page include macro
Asked by ashan:

Dear forum,

I use the page include macro to pull content from space A to B. Content comes up fine but the links (all relative links) still point to space A. I want the relative links to point to the current space, which is B.

Do you guys know any macros to do what I'm describing please?


Answers:
author: David at David Simpson Apps
body: Perhaps you should build a simple user macro to do this job.

For example this user macro will link to a couple of pages in the current space:

```
## Macro title: Some kind of formatting macro## Macro has a body: N## Body processing: n/a## Output: HTML#### Developed by: David Simpson, AppFusions## Date created: 2013-07-02## Installed by: My Name## @noparams #set($spaceKey = $content.getSpace().key) &lt;ul&gt;  &lt;li&gt;&lt;a href="/display/$spaceKey/Some+Page"&gt;Some page&lt;/a&gt;&lt;/li&gt;  &lt;li&gt;&lt;a href="/display/$spaceKey/Some+other+Page"&gt;Some other page&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
```

comments: author: ashan
body: Thanks David. Unfortunately, I am not good with code. Do you have a sample code to do the work please? I need to be able to get content from a different space so that the relative links point to the new space rather than the original one.


Tags: excerpt

link

macro

page

relative
Confluence administrator cannot admin a space?
Asked by Vedad KAJTAZ:

Hi, my user is part of the "administrators" group, but cannot admin (eg. remove) a space created by someone else? Is this a bug? Do I really need to change the user's password and login in his account to delete the space?

Thanks,


Answers:
author: Peter Van de Voorde
body: This is seems to be a known issue explained here : <https://jira.atlassian.com/browse/CONF-27021>

maybe you can vote it up and watch it, it seems you currently have to ask support to be added as a space admin

comments: author: Vedad KAJTAZ
body: Thanks a lot. It is a shame that this hasn't been fixed for 9 month...


author: MJ
body: I would not consider this as a bug. **If** the request get implemented, I would consider this to be an improvement and not a bug resolution. This mainly applies to personal spaces. Granting others certain permissions to personal spaces kind of defies the "personal" part, though on the other side to some degree I can understand the need for administrative capabilities. I would suggest you leave your thoughts regarding the improvement in the request as linked above by Peter, so the responsible people for judging and potentially implementing this request have a better picture of the actual needs and wishes of the users

comments: author: Vedad KAJTAZ
body: It was not a personal space, please read my comments first. And this is definetly a bug.


author: Vedad KAJTAZ
body: Hi, Thanks for the reply. Unfortunately, it is not the case.

I get "You are not permitted to perform this operation." when I click "Manage permissions" for this space. This is so illogical that I guess this is a bug.

comments: author: Vedad KAJTAZ
body: I'm using Confluence On demand (hosted by atlassian). All other spaces were created by me, except two: one personal space that I can administer, and this one, which is not personal but that I cannot administer.


author: Peter Van de Voorde
body: Hi Vedad,

Which version of confluence are you using?

Do you have this problem for all spaces or only for one of the spaces in your confluence instance?

Best regards,

Peter


author: Harry Chan
body: Hi, as an administrator, you should be able to modify the space permissions and add yourself as a space administrator. You should then be able to remove the space.

By default you don't have space administrator permissions to that particular space[.](https://www.cloudshards.com/confluencehosting.php)


Tags: cloud

confluence-cloud
How can I determine what version of Lucene I am running?
Asked by Patrick Wilson:

I am using Confluence 4.3.6.


Answers:
author: William Zanchet [Atlassian]
body: Hi Patrick,   

Yes, if you go to */confluence/WEB-INF/lib* , you should see that Confluence is running Lucene 2.9.4  

I hope this helps.  

Cheers,  

WZ

comments: author: Patrick Wilson
body: Well, that was easy. Thanks very much, William. :)


Tags: confluence-administration
Navigation tree is missing in Chrome after upgrade to 5.1.2
Asked by CM Team:

We upgraded to Confluence 5.1.2 and now the navigation tree is missing from the left pane in Document theme. It works correctly in Firefox and IE8.

Known issue? Workaround or fix for this?


Answers:
author: setycz
body: I had the same issue, what helped me was to clear all browsing data in Chrome, i.e.:

- go to menu

- "More tools" \> "Clear browsing data..."

- make sure "Cookies and other site data" and "Cached images and files" for "All time" are checked

- tap "Clear data"

- restart Chrome

I hope this helps.

Jakub


author: Alica Park
body: I upgraded Confluence to 5.1.4 and I'm experiencing the same thing.


author: BernardoA
body: Hi Seth,

Sorry for that, actually this bug report is restricted only to Atlassian and for developers..

This is the summary of the bug:

**Doc Them Page tree does not work well in Chrome**

Actually this bug ha been closed because we were not able to reproduce this problem. Please ensure if you have the latest version of Chrome and remove all webn-browse Addons if you have.

Cheers,

Bernardo


author: BernardoA
body: I believe that you're experiencing this known bug:

<https://jira.atlassian.com/browse/CONFDEV-4948>

If so, there are no resolution yet but it's still under analysis, that being said, you can vote on this bug and follow up.

Bernardo

comments: author: CM Team
body: Hey Bernardo....That page doesnt like me. :) This is what i get....

Permission Violation {#toc-hId-1877358122}
==========================================

It seems that you have tried to perform an operation which you are not permitted to perform.

If you think this message is wrong, please contact your[JIRA administrators](https://jira.atlassian.com/secure/ContactAdministrators!default.jspa).


Tags: chrome

confluence-administration
Where can I find a presentation (ppt) about Confluence 5?
Asked by Geert Truyen:

I would love to have an overview with features for presentation purposes but cannot find any in ppt format. Cannot find anything up-to-date on slideshare either.


Answers:
author: William Zanchet [Atlassian]
body: Hi Geert,  

I just talk with Jason from our Sales Team about it, and it's better to contact our [sales@atlassian.com](mailto:sales@atlassian.com) to have more information about the presentation.  

Cheers,  

WZ  


author: Geert Truyen
body: William and Bernardo,

Thank you.

If you have to introduce, present and convince a group of people to Confluence in say an hour, I think that a ppt is still one of the best suited media though...

Cheers,

Geert


author: BernardoA
body: In addition, I guess this following documentation might be helpful for you:

<https://confluence.atlassian.com/display/DOC/Planning+for+Confluence+5>

Bernardo :)


author: William Zanchet [Atlassian]
body: Hi Geert,  

I couldn't find a PPT presentation about Confluence 5, however I was able to find a YouTube video, that explains what's new on Confluence 5:  

<http://www.youtube.com/watch?v=KIe4NRrrYmA>  

Just so you know, we have our YouTube offical site: <http://www.youtube.com/user/GoAtlassian>  

Cheers,  

WZ
Shortcut to code marcro
Asked by M.B. Vis:

Hi,

Is there a way to create a shortcut (shortkey) to create a code block in the newest confluence?

Best regards,

Smika


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Smika,

You can insert a code macro by typing "{" and typing "code". That will invoke the Code Block Macro, documented here: <https://confluence.atlassian.com/display/DOC/Code+Block+Macro.>

The supported syntax can be reviewed at [here](https://confluence.atlassian.com/display/DOC/Code+Block+Macro#CodeBlockMacro-Parameters "Parameters").


Tags: confluence-administration
Paste with mousewheel
Asked by M.B. Vis:

Hi,

I am using Linux and there can you paste some text if selected with the mouse. This works in every program and brosrwes like chrome, but not when I am using confluence. Can someone tell me how to solve this issue or why this happends?

Best regards,

Smika


Answers:
author: M.B. Vis
body: Control+c and V are working great. But in Liux you can also paste with your mousewheel and that doesn't work. Today I figured out that this is a Chrome issue. When I am working with Firefox everything works fine. In next days I will try to solve this in Chrome and post the solution. Or hopefullt someone else have a solution.


author: Bruna Griebeler
body: Hi there!

Not sure if I understood well but, do you mean that the Control+C and Control+V are not working on Confluence for copy and paste?

Does this behavior happen also in Windows or Mac?

If so, could you check if there's another action configured for the Control+V action on Confluence Shortcuts? <https://confluence.atlassian.com/display/DOC/Keyboard+Shortcuts>

Also, check if the plugin responible for these shortcuts are enabled: Add-ons \> **Keyboard Shortcuts Plugin.** Check if all the modules inside this plugin are enabled.


Tags: confluence-administration
Confluence Hardware Setup?
Asked by Matt Uebel:

I am preparing a new installation of Confluence, and am trying to get a good idea of the best hardware to provision for this application.  

Atlassian's [documentation](https://confluence.atlassian.com/display/DOC/Server+Hardware+Requirements+Guide "documentation") is alright, but it doesn't seem to be able to answer my questions.   

At peak, we could end up with 50-100 concurrent users. Here is my proposed layout:  

**Application Server** with 4 cores and 8GB mem. Virtual machine running RHEL 6.4  
**External Database** with 4 cores and 8GB mem. Virtual Machines with redhat and Oracle 11gR2  
**NFS** mounted on Application server at the attachments directory.

Do any other admins out there have anything to say concerning this configuration? How does it compare to your own installation? In particular, what have you seen when running an Oracle DB?


Answers:
author: BernardoA
body: I believe your hardware enviroment is ok. Running Oracle works fine, but personally I prefer MySQL or PostgreSQL.

Please cehck this documentation that provides some guidance to setup Oracle database:

<https://confluence.atlassian.com/display/DOC/Database+Setup+for+Oracle>


Tags: confluence-administration

hardware

nfs

oracle