perhaps all that is required is this: when a page is requested, check the 
parents all the way up, and if you find a parent that is hidden, don’t show the 
page.

From: vmassol [via XWiki] 
Sent: Friday, July 15, 2016 10:56 AM
To: dullfig 
Subject: Should a nested hidden page have hidden children? (was Re: Top level 
pages visible even when hidden)


> On 15 Jul 2016, at 19:25, dullfig <[hidden email]> wrote: 
> 
> ok, that was it. there were child pages that were un-hidden. BUT. I thought 
> that was the whole point of having pages in a structure, so you could hide a 
> whole branch by hiding the parent. Having to go and explicitly hide each and 
> every page seems like a bug to me. 

It’s not a bug (since it wasn’t mean to be that way) but that could be a nice 
new feature. Although it might be quite complex to implement since we’d need to 
query the whole hierarchy just to know if a page is hidden or not). Unless we 
recursively set all children pages to hidden when you set a parent to hidden 
and thereafter when the user creates a page inside a nested hidden one, the 
hidden checkbox would be on by default (not shown for simple users). 

In any case, it’s worth creating a jira issues (of type “idea”) to record the 
idea. I’m renaming this issue to discuss the idea. 

Thanks 
-Vincent 


> 
> Dan 
> 
> From: Alexandru Cotiuga [via XWiki] 
> Sent: Friday, July 15, 2016 10:03 AM 
> To: dullfig 
> Subject: Re: Top level pages visible even when hidden 
> 
> Hello, 
> 
> If the "Display hidden pages" option from the profile preferences is set to 
> "no" and a hidden page is still displayed, then that page might have a 
> child which is not hidden. 
> 
> Hope this helps, 
> Alex 
> 
> On Fri, Jul 15, 2016 at 7:52 PM, dullfig <[hidden email]> wrote: 
> 
> 
>> Hello everyone: 
>> 
>> I have noticed that top level pages remain visible even when setting to 
>> "hidden". Is this standard behavior, or is it some kind of bug? or am I not 
>> doing something right? version 8.0 
>> 
>> Dan 
>> 
>> 
>> 
>> -- 
>> View this message in context: 
>> http://xwiki.475771.n2.nabble.com/Top-level-pages-visible-even-when-hidden-tp7600345.html
> 
_______________________________________________ 
users mailing list 
[hidden email] 
http://lists.xwiki.org/mailman/listinfo/users



--------------------------------------------------------------------------------

If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/Top-level-pages-visible-even-when-hidden-tp7600345p7600348.html
 
To unsubscribe from Top level pages visible even when hidden, click here.
NAML



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Top-level-pages-visible-even-when-hidden-tp7600345p7600349.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to