Postnuke permissions and Random Photo Block?

Schufly

Joined: 2003-11-18
Posts: 2
Posted: Tue, 2003-11-18 17:36

Does Postnuke's permission system have any effect on the random photo block? I have the block placed on my homepage, but I would like to hide it from unregistered Postnuke users.

Here is my Postnuke Permissions List

Admins .* .* Admin
All Groups Menublock:: Main Menu:Administration: None
Users PostCalendar:: .* Add
Unregistered gallery:gallery_random: .* None
Users .* .* Comment
Unregistered PostCalendar:calendarblock: .* None
Unregistered Menublock:: Main Menu:(My Account|Logout|Submit News|Gallery|Calendar): None
Unregistered .* .* Read

The block still shows up for unregistered users however. Could anyone tell me where I'm messing this up?

I'm running Joerg's random photo block v0.54b on Postnuke 0.726.
Other than this issue, the block is working correctly.

Thanks in advance for your replies.
Dave

 
Schufly

Joined: 2003-11-18
Posts: 2
Posted: Thu, 2003-11-20 03:38

Nevermind... I figured it out after looking through the PHP code.

I should have been using gallery_random_block:: as the component name under the Permissions instead of what I was using.