The browser alert popup doesn't look very good
It would be much better to use the build in notification functionality that Jenkins provides,
i.e. when you click apply on a job or the global configuration:
Sample showing how to use the notification bar:
Tim Jacomb, could you point to some examples in which the browser alert popup is being used currently (as a candidate for the replacement)?
Basically any action this plugin does,
Change configure security to use folder based authorisation strategy
Then go to the plugins page from manage Jenkins
And add a role, or assign a user to a role
I fixed the issue and created the PR -> https://github.com/jenkinsci/folder-auth-plugin/pull/60
Screenshots are added.
Is there any implementation for JS confirm box ? I left them as I could not an example.