Behavior of G1->G2 importer wrt hidden images

Interlude

Joined: 2004-09-11
Posts: 17
Posted: Tue, 2005-08-16 08:57

As far as I can tell, this has been discussed several times in the past. From what I can ascertain, the importer tool will check for the hidden flag from G1, and will remove the view permissions for "Everybody".

However, this behaviour produces somewhat quirky (imho) results when importing galleries that are not publically viewable in the first place. If you have a gallery that is only visible to certain users (not publically so) in the first place, the hidden images will still be visible to those users. It is *not* hidden from them (as it was in G1).

I think the solution would be to remove permissions from *all* users for hidden images, rather than just the permissions for "everybody". If the present behaviour is indeed intended, then perhaps someone could let me know of an easy way for me to remove a set of permissions from a large number of images.

Cheers,
Interlude

----

Gallery version: Gallery 2, RC1 (+5 Insightful)
G1 version (for migration bugs): 1.4.3-pl2

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-08-16 16:43

I just fixed up the processing of hidden items/albums 2 days ago.. please try a current nightly snapshot and let us know how it goes.

 
Interlude

Joined: 2004-09-11
Posts: 17
Posted: Wed, 2005-08-17 07:15

Thanks mindless, it works exactly as I would like it to in the current nightly build. However, I would like to ask an additional question. Is it possible to convert a user to a group? In gallery 1, I had a user named "friends", whereas now I would like it to be a group named friends, consisting of a bunch of people with different logins. I'm open to different ways of getting to the end result. I would just add group permissions to the album, but that negates all the hiding of hidden images.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-08-17 14:35

I haven't messed around with this much, but maybe try creating the group, then deleting the user and when prompted for who takes over ownership enter the group's name.

 
Interlude

Joined: 2004-09-11
Posts: 17
Posted: Wed, 2005-08-17 15:10

Thanks for the reply, nivekiam. I was thinking along the same lines, but the user (soon to be group) isn't the owner of the albums; it merely has viewing access to them. Thus when I delete the user, G2 doesn't prompt me for an ownership change, and the view permissions are deleted into oblivion.