Skip to content

The Recently Updated Macro shows hidden pages #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ane-gabriela opened this issue Jun 12, 2023 · 2 comments
Closed

The Recently Updated Macro shows hidden pages #149

ane-gabriela opened this issue Jun 12, 2023 · 2 comments

Comments

@ane-gabriela
Copy link

Steps to reproduce:

  1. As Admin add the Recently Updated Macro in a page
  2. Select Spaces "*" > Submit (to show pages from all wikis)
  3. Save & View
  4. Create a new subwiki
  5. Access the page with the Recently Updated Macro again with a simple user (no added rights)

Expected results: Hidden pages aren't shown in the results.

Actual results: Hidden/technical pages appear and cand be accessed even with unregistered users.

HiddenPages

HiddenPage

Environment: Windows 11, XWiki 14.10.10 with MySQL 8.0 and Chrome 114, Pro Macros 1.9

@snazare snazare assigned raphj and unassigned snazare Oct 3, 2023
@raphj raphj changed the title Recently Updated Macro: Hidden pages appear shown in the results The Recently Updated Macro shows hidden pages Oct 3, 2023
@raphj
Copy link
Contributor

raphj commented Oct 3, 2023

Fixed, now the macro only shows hidden pages if the user prefers displaying hidden pages @snazare

@raphj raphj assigned snazare and unassigned raphj Oct 3, 2023
raphj added a commit that referenced this issue Oct 4, 2023
* Also hide comments and attachments that are on an hidden page.
@raphj
Copy link
Contributor

raphj commented Oct 4, 2023

During the night, it occurred to me we should also hide comments and attachments that are in an hidden page, so I committed this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants