Rename method to isOnAllowlist
While we're here testing things anyway, it seems like a good time to do
a simple method rename following the projects new naming guidelines.
This seems like an easy thing to do while we're here anyway and might
short circuit a harder discussion later.
Tested:
Code compiles.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ie5ed1c38d7dec13f875efae4acc22f4fd582f9b9
diff --git a/include/authorization.hpp b/include/authorization.hpp
index 1c51414..4869554 100644
--- a/include/authorization.hpp
+++ b/include/authorization.hpp
@@ -223,7 +223,7 @@
#endif
// checks if request can be forwarded without authentication
-static bool isOnWhitelist(std::string_view url, boost::beast::http::verb method)
+static bool isOnAllowlist(std::string_view url, boost::beast::http::verb method)
{
if (boost::beast::http::verb::get == method)
{