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 »

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: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Delete Job Customization !

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
swap_soni
Posts: 2
Joined: Wed Jul 26, 2017 12:56 pm

Re: Delete Job Customization !

Post 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,
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Delete Job Customization !

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply