You ask a very good question there.
Unfortunately there is nothing currently in the library that will fix this for you, but I think you could implement your own solution fairly easily.
Basically, rather than checking the session for user permissions, make your own custom function to directly check the database instead.
An example SQL query using the default tables names within the library is as follows (Not tested).