Skip to content
Snippets Groups Projects
Commit fe572988 authored by Adam G-H's avatar Adam G-H Committed by Adam G-H
Browse files

rephrase

parent a686f225
No related branches found
No related tags found
1 merge request!217Issue #3266092: Make sure staging root is unique for each Drupal site
This commit is part of merge request !217. Comments created here will be created in the context of that merge request.
...@@ -41,15 +41,14 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; ...@@ -41,15 +41,14 @@ use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
* before any such operations are done. A stage is claimed by presenting a * before any such operations are done. A stage is claimed by presenting a
* unique token that is generated when the stage is created. * unique token that is generated when the stage is created.
* *
* Although a site can only have one staging area, it is possible, but unlikely, * Although a site can only have one staging area, it is possible for privileged
* for privileged users to destroy a stage created by another user, then create * users to destroy a stage created by another user. To prevent such actions
* their own, new stage. To prevent such situations from putting the file system * from putting the file system into an uncertain state (for example, if a stage
* into an indeterminate state (for example, if a stage is destroyed by another * is destroyed by another user while it is still being created), each staging
* user while it is still being created), each staging area lives in its own * area lives in its own directory with a randomly generated name. For
* directory with a randomly generated name. For additional cleanliness, all * additional cleanliness, all staging areas created by a specific site live in
* staging areas created by a specific site live in a single directory, called * a single directory, called the "staging root" and identified by the site
* the "staging root" and identified by the site UUID, which is deleted when any * UUID, which is deleted when any stage created by that site is destroyed.
* stage created by that site is destroyed.
*/ */
class Stage { class Stage {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment