1.1 --- a/imiptools/handlers/scheduling/quota.py Fri May 13 00:28:46 2016 +0200
1.2 +++ b/imiptools/handlers/scheduling/quota.py Fri May 13 01:10:08 2016 +0200
1.3 @@ -130,7 +130,7 @@
1.4 journal = handler.get_journal()
1.5 groups = journal.get_groups(quota)
1.6
1.7 - return quota, groups.get(organiser) or organiser
1.8 + return quota, groups.get(organiser) or groups.get("*") or organiser
1.9
1.10 def _get_duration(handler):
1.11
1.12 @@ -372,11 +372,13 @@
1.13 confirmation_functions = {
1.14 "check_quota" : add_to_quota,
1.15 "schedule_across_quota" : add_to_quota_freebusy,
1.16 + "schedule_for_delegate" : add_to_quota,
1.17 }
1.18
1.19 retraction_functions = {
1.20 "check_quota" : remove_from_quota,
1.21 "schedule_across_quota" : remove_from_quota_freebusy,
1.22 + "schedule_for_delegate" : remove_from_quota,
1.23 }
1.24
1.25 # vim: tabstop=4 expandtab shiftwidth=4