Closed
Bug 482618
Opened 16 years ago
Closed 16 years ago
Home page should only feature public discussions
Categories
(Websites Graveyard :: spreadfirefox.com, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
3.0
People
(Reporter: krupa.mozbugs, Assigned: abuchanan)
References
()
Details
Steps to reproduce:
1.Go to https://spreadfirefox.authstage.mozilla.com/.Do not log in.
2.Under recent discussion click on "Re: 38 here is a little problem with" topic
Expected result:
All featured discussions are public in nature.On clicking the link in the homepage,the discussion page loads.
Actual result:
Discussion topics which are privy to members of certain projects are listed under "Recent discussions".
Updated•16 years ago
|
Assignee: nobody → paul
Assignee | ||
Comment 2•16 years ago
|
||
Ah, I didn't factor in that we have private, members-only groups. That could make gathering these a lot more difficult, I'm not sure how to pull that from the DB.
Paul, do you know how OG tracks which groups are members-only?
Comment 3•16 years ago
|
||
The 'og' table tracks group nodes and whether their private.
Comment 4•16 years ago
|
||
Unassigning myself from this bug just in case
Alex wan to pick this up later today.
Assignee: paul → nobody
Comment 5•16 years ago
|
||
Also you can have a public group where some of the content is private. This is achieved with the is_public field in the og_ancestry table this table associates individual nodes with group nodes. Also its probably worth mentioning here that the table og_uid associates subscribers with groups.
Comment 6•16 years ago
|
||
As these are discussions (forum topics) then its the table og_terms that is important here as it is this table that links group nodes 'nid' with the forums taxonomy term id 'tid' and here there is another 'public' field which controls where the discussion node is public / private.
Ok -- I'm gonna assign to Buchanan....I think he has an idea on this one.
Assignee: nobody → buchanae
Assignee | ||
Comment 8•16 years ago
|
||
OK, I think I've got this working as of r23567. Sorry for the delay, it turned out to be trickier than I thought.
The list will update with each cron run, because the query for sorting discussions/comments is too heavy to be run for every load of the home page.
You can run cron manually by going to...
https://spreadfirefox.authstage.mozilla.com/admin/logs/status/run-cron
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•16 years ago
|
||
Currently ,a non-logged in user gets "access denied" page on clicking featured content in recent discussion section.
Reopening....
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•16 years ago
|
||
per bug 484273...
OK, sorry for the back and forth on this one. I think I've finally got it figured out. "Untitled" and other private groups no longer show up.
r23723
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 11•16 years ago
|
||
Currently only public discussions are listed in this section.So I am going
ahead and marking this verified.Will reopen if I notice any anomalies.
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•