It is not possible to add galleries which are children of existing galleries. This is because of a reference to the redundant "administer images" permission in _image_pub_gr_fetch_albums().

CommentFileSizeAuthor
#1 image_pub-826356.patch1.42 KBegfrith

Comments

egfrith’s picture

Status: Active » Fixed
StatusFileSize
new1.42 KB

The attached patch, which has been committed, fixes this by using the _image_pub_album_access() function to determine the various permissions. This is called for each gallery in turn, which makes sense given the semantics of the call to _image_pub_album_access(). However, the second argument to _image_pub_album_access() doesn't actually do anything at the moment. That said, it may do in the future.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.