In most cases of use of QGIS Server, it is not necessary to access the layers in write mode. The read-only mode is sufficient. We would like to introduce a new flag Qgis::ProjectReadFlag::ForceLayerReadOnly to open layers in a read-only mode.