Page 1 of 1
Set Author via Script
PostPosted:Wed May 31, 2017 9:45 am
by mayankotwani
I want to set author to any folder/file via script during creation. As there is a script available for creating folders I am hoping that this could be possible?
Re: Set Author via Script
PostPosted:Wed May 31, 2017 9:49 am
by mayankotwani
Or if the author could be changed later by admin??
Re: Set Author via Script
PostPosted:Wed May 31, 2017 10:24 am
by Nagaraju
mayankotwani wrote: ↑Wed May 31, 2017 9:45 am
I want to set author to any folder/file via script during creation. As there is a script available for creating folders I am hoping that this could be possible?
Re: Set Author via Script
PostPosted:Sat Jun 03, 2017 3:29 pm
by jllort
It's not possible changing author from scripting or from API. Really it will be a security issue, because you are working with the user logged but you will be acting as other user. This kind of modification should be done at database level, but before guide you on how doing it, please, why do you need this kind of behaviour, explain the reason and we'll try to help you on it, if it's possible.