Closed Bug 1157333 Opened 9 years ago Closed 9 years ago

Let authorized people see un-approved events

Categories

(Webtools Graveyard :: Air Mozilla, defect)

defect
Not set
normal

Tracking

(firefox40 affected)

RESOLVED FIXED
Tracking Status
firefox40 --- affected

People

(Reporter: peterbe, Assigned: peterbe)

Details

Attachments

(1 file)

Currently, if an event is added but needs approval, not even staff can see them. 
Instead, we should make the iCals, the browsing, the searching, the Roku browsing, the calendar, all work according to this logic::

 if not request.user:
    base = Event.objects.archived_and_approved()
 else:
    base = Event.objects.archived()

When a signed in person visits an event that doesn't yet have approval, it should explain that on the page and it should also mean you can't download or embed it.
Assignee: nobody → peterbe
Commits pushed to master at https://github.com/mozilla/airmozilla

https://github.com/mozilla/airmozilla/commit/41a7d1793e2470f6a631afc56fd84e008f06f6b7
fixes bug 1157333 - Let authorized people see un-approved events

https://github.com/mozilla/airmozilla/commit/ec51b38a4027b8a47bf12002ef0e7d3d010c8fef
Merge pull request #285 from peterbe/bug-1157333-let-authorized-people-see-un-approved-events

fixes bug 1157333 - Let authorized people see un-approved events
Status: NEW → RESOLVED
Closed: 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.

Attachment

General

Created:
Updated:
Size: