On 05/01/2010 05:36 PM, Suhothayan Sriskandarajah wrote:
hi,

To support my gsoc project i have created the followig WIKI

https://cwiki.apache.org/confluence/display/PHOTARKxWIKI/Integrating+OpenID+and+Providing+User+Management+to+PhotArk

please go through my updates here and give your suggetions on improvements
and correct me if i have gone wrong some where.

Thanks
Suho

Hi,

I consider following relationship in Photark.
User 1->n Albums 1->n Picture.

Comments

- Whats the purpose of AuthorizedUser class?.

- Where you put the logic of accessing correct album.Inside the Access manager class or inside the user manager class.


Suggestions.

I think you make Access Manager centralized and so it acts as gateway.You can introduce a immutable AccessList object. Album can have owner attribute which identifies who created the album. and a list of permitted Users and can also have a attribute to identify it public , private or protected. AccessManager uses the accessList of the user and fetches the correct albums from the repository.













Reply via email to