Photo Organizer

This is the bug tracker for Photo Organizer.
Tasklist

FS#245 - Move 'access' and 'original' rights into 'files' table.

Attached to Project: Photo Organizer
Opened by Solomon Peachy (pizza) - Monday, 13 August 2007, 17:04 GMT-4
Last edited by Solomon Peachy (pizza) - Sunday, 06 January 2008, 11:06 GMT-4
Task Type Feature Request
Category Backend / Core → Database
Status New
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Devel
Due in Version 2.36
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This way individual versions and scaled resolutions can be given appropriate rights; If we have the individual files with fine-grained permissions, then we can do away with the 'original' field altogether, and the 'access' field can be inferred from these settings (via a DB stored procedure)

The original can be granted to be 'private' or 'protected', for example, while the watermarked preview is 'public', the non-watermarked preview is 'protected', and the thumbnail is 'public'.

If we have the individual files with fine-grained permissions, then we can do away with the 'original' field altogether.

If the viewer can access the thumbnails, then they can see the image on the browser list. If the viewer can access *any* of the preview images, the thumb links to the best-quality preview image. (ie resolution &| watermarking..). While looking at the preview, if they have access to the original, let them have it.
This task depends upon

Comment by Solomon Peachy (pizza) - Monday, 13 August 2007, 17:06 GMT-4
To migrate:

Public + Allow_Orig => Public, Public, Public
Public + No_Orig => Public, Public, Private
Protected + Allow_Orig => Protected, Protected, Protected
Protected + No_Orig => Protected, Protected, Private
Private + Allow_Orig => Private, Private, Private
Private + No_Orig => Private, Private, Private
Comment by Solomon Peachy (pizza) - Thursday, 16 August 2007, 20:20 GMT-4
so which file does can_access_photo() hit? Does it return 'y' if any file is allowed? Or perhaps just the thumbnail?
Comment by Solomon Peachy (pizza) - Thursday, 16 August 2007, 20:21 GMT-4
Also, photo.edit and bulk.update need to map appropriately too.

Loading...