Create Button Macro doesn't respect the create permission

Description

If the user has no create permission at all, the standard Confluence Create Button isn't there, and nothing happens if the user is pressing "C". This is absolute correct.

The Enterprise Theme Create Button Macro doesn't check this permission and is shown every time, with the result that nothing is happen if the user click our button, if he has no permission to create content.

Resolution

  • The Create Button Macro needs to check of the user can create content anywhere (in the same way Atlassian is doing this for their button -> reading the source of Confluence helps for that)

  • The "Fallback Create Button" next to the Edit Button (Only shown if the Create Button isn't part of the header) needs to be changed too.

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Oliver Strässer

Reporter

Daniele Talerico