Fix permissions in audit logs
Created by: IDoEverything
Summary
Fixes an issue where a casting error would be thrown for role edit/create audit log entries.
Details
In api v6 permissions were sent as long
s, but it was changed to be sent as a string in api v8. This was probably missed out when updating the library to v8.
Changes proposed
cast to string
and do long.Parse
instead of casting directly to long