[SERVER-43633] Prohibit user writes to system.views Created: 25/Sep/19  Updated: 29/Oct/23  Resolved: 20/Jul/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Haley Connelly Assignee: Gregory Noma
Resolution: Fixed Votes: 1
Labels: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-13772 Investigate changes in SERVER-43633: ... Closed
Duplicate
is duplicated by SERVER-48248 Disallow user operations on a databas... Closed
Problem/Incident
Related
is related to SERVER-49545 Remove FCV check for system.views in ... Closed
Backwards Compatibility: Minor Change
Backport Requested:
v4.4
Sprint: Execution Team 2020-07-13, Execution Team 2020-07-27
Participants:
Linked BF Score: 65

 Description   

Right now, users can manually write to system.views, leading to the existence of invalid views within the view catalog. 

 

 

See SERVER-42373



 Comments   
Comment by Githook User [ 20/Jul/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-43633 Prohibit user writes to system.views in FCV 4.6
Branch: master
https://github.com/mongodb/mongo/commit/2cf8cd352731e3996342ce92b900514f4899db52

Comment by Pierlauro Sciarelli [ 16/Jul/20 ]

Thanks for letting me know gregory.noma , I'm going to wait for the commit and - after that - I'll decide how to proceed and probably open a new ticket assigned to me.

Comment by Pierlauro Sciarelli [ 27/Jun/20 ]

I added some TODOs related to this issue.

In case of problems or if you think the TODOs are out of scope, feel free to assign me an additional ticket.

Comment by Githook User [ 27/Jun/20 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-43633 TODOs prohibit user writes to system.views
Branch: master
https://github.com/mongodb/mongo/commit/539414b9cb7a9f39856090730398d5dd130ab0c8

Comment by Dianna Hohensee (Inactive) [ 27/Sep/19 ]

Should investigate whether this breaks tests.

Generated at Thu Feb 08 05:03:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.