This is the bug tracker for Photo Organizer.
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
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
|
DetailsThis 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
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