|
RE: I like the pedigree as is
Yes!
I don't see a need to show more than the current 2-gens back. But ..
Restricting access to the current owner is too restrictive.
To the current rules, I would add:
If the currently-logged-in user (PHP session login) was the breeder (owner, when box produced) then that user should be granted access to view that cat. This is a simple change.
It would allow a breeder to sell a box, still own the mother, see the box from her page, and click on it to see who the father was.
It would allow a breeder to produce MaMaMaMa, MaMaMa, MaMa, Ma and box, sell MaMaMa and MaMa and Ma, still walk the tree up from the box to MaMaMaMa and see her parents and grandparents.
It would NOT allow a breeder to sell a mother and see OTHER boxes. If you bred her and got 3 boxes, then sold her, you can click on one of those boxes, see her, and see JUST those three boxes. You'll have NO way to determine if she's made more boxes.
The remaining hickup is not breeding mom, selling her after getting a box .. you'd click the box and see her, but could not click on her to see if she made other boxes for you .. you didn't produce her, and don't own her, so you can't see her. To fix that we'd need to track prior ownership .. which is probably too much to ask of the database.
|