Multiple record update as plug-in

Multiple record update as plug-in

I'm trying to create a multiple record update form as a plug-in on an administrator dashboard. The idea is that the administrator can update the authorised state of multiple organisations that have registered on the website. I have followed the tutorial on this from your site. I want to use the Update multiple records as a plug-in because I might need to use it on different pages of the admin system I'm building.

When I click the update button on my admin dashboard I get an error message stating I don't have permission to access the plug-ins directory. I think the error is occuring because the plug-in file is in a plugins directory and actual admin-dashboard.php file that it's plugging in to is in a separate admin directory. However, I don't know how to correct this error as I can't see anything in the WA generated code.

I've attached both files in a zip for reference any help is greatly appreciated.