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.
Posts: 32509
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