Closed robertbak closed 7 years ago
I've also come up with a use case for this one, it would be a very helpful feature.
Good idea!
Thanks for considering that request @w00fz. I can see it also VERY valuable re: Ron's in-line editor plugin passing the current user when calling GitSync👍
I'm thinking this could be an option in the plugin where you can choose to use either the Git Repository user, the current Grav session user or the current Grav session fullname. So that it applies to the plugin globally.
That sounds nice and flexible @w00fz
This is now implemented with 4 options to pick from.
Note that when synchronizing via CLI, the Git User is the only viable option and will override any other setting.
Useful for keeping track who's making changes on Grav installs with multiple users.
On admin actions like
onAdminSave
there's$this->grav['session']->user->fullname