question about default user permissions

aldoogy

Joined: 2007-07-16
Posts: 7
Posted: Mon, 2007-09-03 11:22

quick question -

$ret = GalleryEmbed::init(array(
'fullInit' => true ,
'activeUserId' => $uid ,
'embedUri' => $embedUri,
'g2Uri' => '/gallery2/'
));

if the $uid is the default user - i.e ''.

Does this user act as part of the 'Everybody' group, and have the permissions granted to the 'Everybody' group ?

I am trying to upload to an album that has add-subitem permission granted to 'Everybody' - but as yet - no joy.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-09-03 13:38

if activeUserId is null / an empty string / not specified, then g2 defaults to the guest user, member of the everybody group.

> I am trying to upload to an album that has add-subitem permission granted to 'Everybody' - but as yet - no joy.

adding an album requires the the "add sub album" permission. that's different from adding data-items.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage