Page 1 of 1

Delete Job Customization !

Posted: Wed Jul 26, 2017 1:13 pm
by swap_soni
Hi, Timur !

Wanted the Delete Job option will only work if the job is submitted by the same user...
In other words, a user can only delete jobs submitted by him/her...

OR
A job might be deleted only in GOD-Mode...

Either of these two options will work for me to prevent accidental deletion of jobs of other user...

Re: Delete Job Customization !

Posted: Wed Jul 26, 2017 2:53 pm
by timurhai
Hi.
GUIs show other users jobs only in god mode.
So w/o god mode user can't delete other user job(s) from a GUI.

Re: Delete Job Customization !

Posted: Thu Jul 27, 2017 6:40 am
by swap_soni
Yeah !,

But this is not the case for web UI. I wanted this feature for Web too...
Is it possible to to avail it for web ?

Thanks,

Re: Delete Job Customization !

Posted: Thu Jul 27, 2017 9:40 am
by timurhai
Hi.
There is no authentication mechanism in Afanasy (yet).
AfWatch knows user name just from machine environment.
Web page has no access to the machine environment, of course, or sites could steel lots of info for hacking.
So WebGUI does not know user who run it w/o authentication.
For now the only way for WebGUI is to simple type user name in settings panel, by default it is 'coord'.
If such user does not exist, WebGUI shows all jobs, as it can`t filter it by user name.