mirror of
https://github.com/makeplane/plane.git
synced 2026-09-02 12:09:14 +02:00
chore(security): drop advisory identifiers from code comments
Explanations kept unchanged; only the IDs are removed. Co-authored-by: Plane AI <noreply@plane.so>
This commit is contained in:
@@ -91,7 +91,7 @@ class WorkSpaceMemberViewSet(BaseViewSet):
|
||||
# passing ``request.data`` verbatim would let a workspace admin mass-assign
|
||||
# ``workspace`` (relocating a controlled member row into a victim workspace as
|
||||
# an admin — full cross-tenant takeover), ``is_active``, and other columns.
|
||||
# Restrict the writable payload to ``role`` only. See GHSA-f739-39g5-jj49.
|
||||
# Restrict the writable payload to ``role`` only.
|
||||
allowed_data = {}
|
||||
if "role" in request.data:
|
||||
allowed_data["role"] = request.data.get("role")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# See the LICENSE file for details.
|
||||
|
||||
"""
|
||||
Regression tests for GHSA-f739-39g5-jj49 (WEB-8332).
|
||||
Regression tests for WEB-8332.
|
||||
|
||||
``WorkSpaceMemberViewSet.partial_update`` is only meant to update a member's
|
||||
``role``. Before the fix it passed ``request.data`` verbatim to
|
||||
|
||||
Reference in New Issue
Block a user