ese-unibe-ch/ese2011-team3 — Issue #77: Request: Add property defaultCalendar to User model
Author: poljpocket
Created: 2011-10-24 08:41:07+00:00
State: open
Labels: backend, MEDIUM

We plan to display a calendar directly on the home page, just after an user has logged in. Every user gets the possibility to set it's default calendar in the profile settings. To achieve this, we need to save this somewhere. So, I assume, you just make a new property in the User model, which is called 'defaultCalendar'.

This produces several problems:

- The defaultCalendar may not be null unless there's no calendars for the user.
- The defaultCalendar must be one of the user's own calendars. This raises a little synchronization problem.

With some assertions or exception raisings, you should abandon these easily.

Thanks @lexruee, @Nick11, @tschwander