Testing a new decorator I wrote, for validating permissions, as well as
a function to test specific permissions for an api call that performs
multiple operations