media authorid

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
gregfuller
Regular
Posts: 13
Joined: Tue Oct 09, 2007 9:33 am

media authorid

Post by gregfuller »

I have noticed that that when an image is saved, the authorid in the images table is set to 0, but the authorid in the mediaproperties table has the proper authorid.

It seems that the ACL works off the authorid in the images table, because when I go in through phpmyadmin and put the proper authorid in the images table, my ACL group permissions regarding media work as expected.

If I leave it as it is, the group permissions (particularly "Administrate other user's media files") seem to be ignored. I'm on 1.4.1.

Am I missing something?

Thanks! --Greg
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: media authorid

Post by garvinhicking »

Hi!

Yes, in newer s9y versions the access privileges are stored on a per-directory basis. You can assign read/write permissions in the "Manage Directories" section of s9y. This is preferable to "per-image" privileges. The "old" way with authorid only exists for backwards compatibility.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gregfuller
Regular
Posts: 13
Joined: Tue Oct 09, 2007 9:33 am

Re: media authorid

Post by gregfuller »

Wow, that's so cool. Sorry I missed it. Thanks.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: media authorid

Post by garvinhicking »

Hi!
gregfuller wrote:Wow, that's so cool. Sorry I missed it. Thanks.
Not a problem, for questions like these I'm here. If you find any issues with that management, please let me know.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply