Skip to main content

Should a hidden container be visible?

2 replies [Last post]
howardteece
Offline
Joined: 2010-06-17
Points: 0

If you create a HN Container like this:

ExtendedFileAccessPermissions hiddenPermissions = new ExtendedFileAccessPermissions(false, true, false, true, true, true, null, null);

ContentContainer hiddenStuff = ((ContentContainer)serverRootContainer).createContentContainer("hidden", hiddenPermissions);

Then the container is still visible in the CDS when queried.

Isn't it supposed to be invisible, and all content within also invisible? This saves us having to hide each element that is added to the container.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dgalliga
Offline
Joined: 2009-07-25
Points: 0

Yes you are correct, false for world read permissions should work. This should not be visible from another computer on the network through Browse or Search. I will try and reproduce your issue. Are you doing a Browse or a Search from the other computer?

howardteece
Offline
Joined: 2010-06-17
Points: 0

It's a Browse [I think] from a PlayStation 3 so should be easy to reproduce.

I have raised IT-639 for this.