Skip to content

Commit

Permalink
GMP doc: add OBSERVERS/GROUP to CREATE_TASK
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and a-h-abdelsalam committed Jun 17, 2024
1 parent 95e7336 commit bb37399
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -23137,8 +23137,8 @@ gmp_xml_handle_end_element (/* unused */ GMarkupParseContext* context,
gchar *fail_group_id;

switch (set_task_groups (create_task_data->task,
create_task_data->groups,
&fail_group_id))
create_task_data->groups,
&fail_group_id))
{
case 0:
break;
Expand Down
20 changes: 18 additions & 2 deletions src/schema_formats/XML/GMP.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -5921,8 +5921,24 @@ END:VCALENDAR
</ele>
<ele>
<name>observers</name>
<summary>Users allowed to observe this task</summary>
<pattern><t>user_list</t></pattern>
<summary>Users and/or groups allowed to observe this task</summary>
<description>
The optional text of element observers is a space separated list of users.
</description>
<pattern>
<t>user_list</t>
<any><e>group</e></any>
</pattern>
<ele>
<name>group</name>
<pattern>
<attrib>
<name>id</name>
<type>uuid</type>
<required>1</required>
</attrib>
</pattern>
</ele>
</ele>
<ele>
<name>preferences</name>
Expand Down

0 comments on commit bb37399

Please sign in to comment.