Posted on: 10/06/04 10:33pm
By: johnjr
I've installed Gallery (1.4.4-pl2, plus the patches), integrated with Geeklog 1.3.9rs1. The installation went pretty good (after I fixed my mistakes), but I am having a problem with 'album permissions'.
When I try to set/change permissions, I've found that once the permissions are set for a 'User Group', then that permission can't be changed to anything else. If I set an album permission to a single user, then I can easily change that permission.
Has anyone else had any similar problems? Anyone know of a fix?
John
Gallery 'Album Permissions' not working correctly
Posted on: 10/07/04 12:47pm
By: johnjr
So, I guess no one else is having this problem?
John
Gallery 'Album Permissions' not working correctly
Posted on: 10/08/04 01:29am
By: jonc
I have the same combination of software, and had problems with granting permissions in general. Only 'root' access had the right to creat albums, upload pics, etc. I couldn't grant access to anyone else to do anything else, but view.
I was given the answer at this topic:
here[*1]
Gallery 'Album Permissions' not working correctly
Posted on: 10/08/04 02:30pm
By: johnjr
My probem is that I can't 'delete' a User Group from a 'permission', once it's been 'assigned' to that 'permission'. So, for example, if I set the 'Add Photo' permission to the 'Forum Admin' group, then I can't get rid of that group from that 'permission', unless I set that 'permission' to 'EVERYBODY'. If I try to set it back to 'NOBODY', nothing happens - I'm 'stuck' with that User Group in that 'permission' window.
John
Gallery 'Album Permissions' not working correctly
Posted on: 10/08/04 06:44pm
By: jonc
I just did the scenario that you mentioned. I didn't have a problem removing a person or group from having permission.
There are arrows going two directions. The one pointing right adds people / groups to a permission catagory. The one pointing left removes them. You do have to highlight the person in the permission catagory for the arrow to remove them.
I hope that is what you are trying to figure out.
Gallery 'Album Permissions' not working correctly
Posted on: 10/11/04 07:29am
By: johnjr
Yes, I'm doing it 'correctly', but it simply doesn't work with any of the Geeklog groups. It works fine with individual users, but not Geeklog Group Users (such as Forum Admin, etc.).
Could this have something to do with 'permissions' set at the ISP level?
John
Gallery 'Album Permissions' not working correctly
Posted on: 10/11/04 12:02pm
By: jonc
OUCH!!
When I did it before I just used a user. I just tried it with a group and now can't remove it. I added a different group to see if i could 'swap' them, but now they are both stuck there. There is obviously a problem with the javascript in the popup permissions box... which probably takes us to the gallery forum.
Gallery 'Album Permissions' not working correctly
Posted on: 10/11/04 01:13pm
By: johnjr
I've tried to get help on the Gallery website, but so far, no help.
John
Gallery 'Album Permissions' not working correctly
Posted on: 10/11/04 02:19pm
By: jonc
It seems that the permissions popup is changing the users preferences correctly, but not the groups, so I am curious to know if there is anyway to change it manually (for now, as it is not a problem that we will face tooooo often).
I've gone through PHPmyadmin and see no reference to Gallery in the database. I can't see anywhere else where the premissions info is kept. Does anyone else know??
Gallery 'Album Permissions' not working correctly
Posted on: 10/11/04 04:11pm
By: jonc
I found the actual database for the albums; there is one for each album found at /path/to/gallery/albums/youralbum/album.dat.
If you view the contents of that file, you will find something like this
...s:13:"canChangeText";a:3:{i:-6;i:1;i:-4;i:1;s:6:"nobody";i:1;}...
the "i:-6;1:1" is one of the groups that you added. When you remove that it seems to be putting "nobody" back in but not removing the groups added (only users).
I haven't figured out how to change/edit this file yet, but i'm working on it.
Gallery 'Album Permissions' not working correctly
Posted on: 10/11/04 04:26pm
By: jonc
I ftp'd the album.dat file in question to my desktop, where I could edit it. I could not change permissions on that file type on the server so I renamed the file to albumBAK.dat and ftp'd the changed file back up to the server.
The change you want to make is to take the permission catagory in question and change it to:
...s:13:"canChangeText";a:0{}...
Where the "0" in:
a:0{} lists the number of list items that follow in the "{}". The default is NOBODY, so you don't want anything in that list (therefore "0{}").
Now don't assign a group permissions to an album unless you mean it.
Gallery 'Album Permissions' not working correctly
Posted on: 10/12/04 03:59am
By: Anonymous (JensT)
Hi,
my Name is Jens, i am a Member of Gallery DevTeam.
Gallery 1 itself can not handle groups.
What we do to support Geeklog groups is a kind of "trick". We treat the groups as users.
But this is only done for GeekLog !
I also wonder why Gallery related things are not asked/discussed in Gallery forum.
Because we dont monitor other forums.
I found this thread due to a hint from a GeekLog user (Georg).
Regards,
Jens
Gallery 'Album Permissions' not working correctly
Posted on: 10/12/04 10:53am
By: jonc
I also wonder why Gallery related things are not asked/discussed in Gallery forum.
I did (and so did Johnjr).
Gallery 'Album Permissions' not working correctly
Posted on: 10/12/04 04:03pm
By: johnjr
I asked about this problem 6 days ago, in the Gallery Forum, and never got an answer.
John