Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
admin_event.png 109.3 kB 2 06-May-2021 15:46 Sandor
png
approve_button_js.png 9.6 kB 2 06-May-2021 15:47 Sandor
png
assigned_admin_priv.png 37.2 kB 2 06-May-2021 15:48 Sandor
png
audit_log.png 21.7 kB 2 06-May-2021 15:48 Sandor
png
denied.png 21.5 kB 2 06-May-2021 15:49 Sandor
png
jump_conditional.png 22.8 kB 2 06-May-2021 15:49 Sandor
png
limiteddown.png 135.3 kB 2 06-May-2021 15:50 Sandor
png
limitedup.png 124.5 kB 2 06-May-2021 15:50 Sandor
png
move.png 23.2 kB 2 06-May-2021 15:50 Sandor
png
task_flow.png 82.4 kB 2 06-May-2021 15:50 Sandor
png
url.png 11.8 kB 2 06-May-2021 15:51 Sandor
png
user_event1.png 96.1 kB 3 06-May-2021 16:23 Sandor
png
user_event2.png 32.0 kB 2 06-May-2021 15:51 Sandor
png
user_variable.png 18.2 kB 2 06-May-2021 15:52 Sandor

This page (revision-5) was last changed on 29-Dec-2020 05:25 by Ben Spink

This page was created on 29-Dec-2020 05:25 by Halmágyi Árpád

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 5 changed one line
You can set up an event to trigger a job that will email the assigned administrator to allow or reject the uploaded files and to write the audit log file as well.\\
You can set up an event to trigger a job that will email the assigned approver to allow or reject the uploaded files and write an automatic entry into an audit log.\\
At line 8 changed one line
The admin user assigned to accept or reject the files will also need view permission for the given upload folder.\\
The approver user assigned to accept or reject the files will also need view permission for the upload folder.\\
At line 20 changed one line
The assigned administrator user will need to be added a custom button under Admin>>UserManager>>UserName (default for all users) in the QuickJump select Webinterface, scroll down a little and at the Buttons section click on add://
The assigned approver user will need to add a custom button under UserManager, UserName (default for all users), in the QuickJump select Webinterface, scroll down a little and at the Buttons section click on 'Add'\\
At line 24 added 6 lines
{{{
javascript:customEvent({paths:"{files"});
}}}
Next, we add an event on the approver, its type must be 'Custom' and to do it immediately, and do it async.
At line 32 added 2 lines
We first assign a variable to hold the home folder name of this user, and we grab it out of the URL. So in our example, position 6 of the url is the folder who's name matches the username. {6url} gives that to us,a nd we assign it to a variable for use.
At line 30 changed one line
The jump conditional will check to get to the url of the limited user and will trigger the tasks based on that.\\
The jump conditional will check to make sure the approver is not approving their own file, and if they are, deny it and log an audit log entry.
At line 45 added 2 lines
We move the item passed in from the approval to go up one level from the upload folder, then into the download folder to move the file there.
At line 49 added 2 lines
We use a WriteFile task to write a log entry to an audit log file on our drive.
At line 53 added 2 lines
And if they fail, we write a failure message.
Version Date Modified Size Author Changes ... Change note
5 29-Dec-2020 05:25 2.194 kB Ben Spink to previous
4 29-Dec-2020 05:25 2.193 kB Ben Spink to previous | to last
3 29-Dec-2020 05:25 2.193 kB Ben Spink to previous | to last
2 29-Dec-2020 05:25 1.477 kB Halmágyi Árpád to previous | to last
1 29-Dec-2020 05:25 1.341 kB Halmágyi Árpád to last
« This page (revision-5) was last changed on 29-Dec-2020 05:25 by Ben Spink
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
CrushTask

JSPWiki