Rudimentary user_access() function.