Hi Kevin,
A warning is atleast no real error, you shouldn’t recognize any failure, plugin should anyways work as expected.
About your Solution: no since that would bypass all functions for non admin also.
can you check the new commit version 0.2.0 if this solves your problem please.