Skip to content

Commit

Permalink
Remove 'user' from modifiable fields [SA-16068]
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcdonnell committed Sep 20, 2024
1 parent 62b229f commit f680c3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ required:
- publishDate
- type
- level
properties:
user:
type: object
description:
An object stub for specifying a user. This specifies the owner of the event.
When an event is created, if this is not supplied the logged-in user will
become the owner. Note the owner may not be changed after event creation.
properties:
id:
$ref: ../../schemas/id.yaml
allOf:
- type: object
- $ref: eventRequestFieldsForModify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ allOf:
- type: object
description: This is the preferred request schema.
properties:
user:
type: object
description:
An object stub for specifying a user. This specifies the owner of the event.
When an event is created, if this is not supplied the logged-in user will
become the owner.
properties:
id:
$ref: ../../schemas/id.yaml
author:
type: object
description:
Expand Down

0 comments on commit f680c3d

Please sign in to comment.