Forum: Ruby on Rails RE: modelling data to specify user access

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1f840b624a948a3f39299af25620121b?d=identicon&s=25 Ross Dawson (Guest)
on 2006-05-11 02:48
(Received via mailing list)
Sounds like:

A Gallery has many Images
A User has many Galleries

A guest user could be assigned the default protfolio that everyone can
see.

Not sure how this looks in Rails HABTM??? but the two additional tables
would be:

Gallery_Images (plurals??)
*gallery_id
*image_id

Gallery_Users
*gallery_id
*user_id

Ross
This topic is locked and can not be replied to.