Different tracking of admin/public actions #1442
Labels
improvement
Improvement of an existing functionality. See "feature" for new features.
scope: core
Core VersionPress functionality like tracking actions, creating Git commits, etc.
VersionPress currently differentiates requests made from WordPress administration and public frontend.
versionpress/plugins/versionpress/src/Git/Committer.php
Lines 89 to 103 in e220983
But there are several related problems:
by user admin
for post Hello world".Solution?
I would suggest to remove current admin/public differences and simplify it to "action done by registered user = authored commit". I do not see any reason to preserve current solution. On the other hand, I would love to see for example "request type" information (Ajax, REST, Gutenberg) stored inside commits in the future (see Using source and type of requests #691).
Or we can simply allow Gutenberg requests to be commited with authenticated users and let it be for now with all disadvanatges mentioned earlier.
The text was updated successfully, but these errors were encountered: