[3.0.1 Backport] Prevent use of internal underscore properties

Description

Backport the ticket but instead of preventing the use of internal special properties, only warn on use of a reserved internal special property.

Want to prevent the use of internal properties when not needed.  The REST API should be the only path allowing the use of internal properties, so generally import and blip should not allow these to be set.  Needs additional design work to validate this assumption for all internal properties, and determine the right place in the stack to perform this check for import and blip, and any properties that should also be excluded for REST (e.g. _purged).

Activity

Show:

CB robot May 6, 2022 at 2:11 PM

Build sync_gateway-3.0.1-14 contains sync_gateway commit c8ceeb9 with commit message:
[3.0.1 Backport] : Backport : Prevent use of internal underscore properties (#5525)

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 12, 2022 at 10:11 AM
Updated August 31, 2024 at 10:57 AM
Resolved May 6, 2022 at 12:28 PM
Instabug