Delete Job Customization !

Feature requests discussion.
Post Reply
swap_soni
Posts: 2
Joined: Wed Jul 26, 2017 12:56 pm

Delete Job Customization !

Post by swap_soni » Wed Jul 26, 2017 1:13 pm

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...

User avatar
timurhai
Site Admin
Posts: 355
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Delete Job Customization !

Post by timurhai » Wed Jul 26, 2017 2:53 pm

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.
Timur Hairulin
CGRU 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

swap_soni
Posts: 2
Joined: Wed Jul 26, 2017 12:56 pm

Re: Delete Job Customization !

Post by swap_soni » Thu Jul 27, 2017 6:40 am

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,

User avatar
timurhai
Site Admin
Posts: 355
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Delete Job Customization !

Post by timurhai » Thu Jul 27, 2017 9:40 am

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.
Timur Hairulin
CGRU 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest