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().
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | image_pub-826356.patch | 1.42 KB | egfrith |
Comments
Comment #1
egfrith commentedThe 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.