Hi everyone!
We use Display Macro a lot on XWiki. It is a very useful macro that allows us to reuse content from the same source.
But we have encountered a limitation: if the page whose content we want to display with this macro has access restrictions, then users who do not have this access will see in macro a message that they do not have permission to view this content.
It all seems logical. But there is a downside to this.
Here is a user story.
There is a main wiki, which is accessible to all users.
There are subwikis of the project, which are accessible only to the project team.
An instruction appeared on the subwiki, which is useful for all users. We want to put it on the main wiki for everyone.
Of course, it can be copied, but then we will have two copies of one instruction, and we will have to monitor the update in two places, which is inconvenient.
Instead, it seems correct to use the Display Macro, which will output the content of the article from the subwiki to the Main Wiki.
But since access to the subwiki is restricted, the macro will display the content only for the project team, and others will not see anything. It turns out that in this case the macro is useless.
We think it would be good if the Display Macro had the feature (checkbox) to ignore access restrictions. Then it would become more universal.
What do you think about this? And is there any way to bypass this limitation in the Display macro?
1 post - 1 participant