Enforce relationships when fetching pages and sites

RESOLVED FIXED in 1.0

Status

RESOLVED FIXED
9 years ago
2 years ago

People

(Reporter: rdoherty, Assigned: jbalogh)

Tracking

Details

(Reporter)

Description

9 years ago
Users have relationships with these objects:
* pages
* sites

1 -> many for both. All queries that show page and site data need to query base on those relationships. 

Example: mozilla.com is a site and it is tracked by multiple users. Users who do not track mozilla.com can not view the site by typing cesium.mozilla.org/site/5

Pages listed in a site view should only be the pages a user added themselves, not all pages stored in the db related to a site.
(Reporter)

Comment 1

9 years ago
assigning to Jeff as he's done this.
Assignee: nobody → jbalogh
(Assignee)

Comment 2

9 years ago
Added the for_user manager in r50840.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.