Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22542

Can't use REST to alter a group custom field

    XMLWordPrintable

    Details

    • Release Notes Summary:
      It is now possible to alter a group custom field by using the REST API
    • Backlog priority:
      800
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Since 9.3:

      The groupname and grouplabel properties at the root are deprecated. id must be used instead of groupname.
      groupname and grouplabel are now part of the properties field with all others group schema properties.

      Sample output:

      {
        "entity-type":"group",
        "id": "GROUP_NAME",
        "groupname": "GROUP_NAME", /* deprecated, for backward compatibility */
        "grouplabel": "GROUP_DISPLAY_NAME", /* deprecated, for backward compatibility */
        "properties": { /* depending on the group schema */
          "groupname":"GROUP_NAME",
          "grouplabel":"GROUP_DISPLAY_NAME",
          "description": "GROUP_DESCRIPTION"
        },
        "memberUsers": [ "USERNAME1", "USERNAME2", ... ],
        "memberGroups": [ "GROUPNAME1", "GROUPNAME2", ... ],
        "parentGroups": [ "GROUPNAME1", "GROUPNAME2", ... ]
      }
      
      Show
      Since 9.3: The groupname and grouplabel properties at the root are deprecated. id must be used instead of groupname . groupname and grouplabel are now part of the properties field with all others group schema properties. Sample output: { "entity-type" : "group" , "id" : "GROUP_NAME" , "groupname" : "GROUP_NAME" , /* deprecated, for backward compatibility */ "grouplabel" : "GROUP_DISPLAY_NAME" , /* deprecated, for backward compatibility */ "properties" : { /* depending on the group schema */ "groupname" : "GROUP_NAME" , "grouplabel" : "GROUP_DISPLAY_NAME" , "description" : "GROUP_DESCRIPTION" }, "memberUsers" : [ "USERNAME1" , "USERNAME2" , ... ], "memberGroups" : [ "GROUPNAME1" , "GROUPNAME2" , ... ], "parentGroups" : [ "GROUPNAME1" , "GROUPNAME2" , ... ] }
    • Sprint:
      nxfit 9.3.9, nxfit 9.3.10
    • Story Points:
      3

      Description

      If I add a custom field to a group (or take tenantId in group schema for example) I cannot update the custom field using the group endpoint.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 1 hour
                  3d 1h