diff --git a/src/permission/fs_permission.h b/src/permission/fs_permission.h index f393c6a042e662..7ac987c7118ca1 100644 --- a/src/permission/fs_permission.h +++ b/src/permission/fs_permission.h @@ -16,7 +16,7 @@ namespace permission { class FSPermission final : public PermissionBase { public: - void Apply(const std::string& deny, PermissionScope scope) override; + void Apply(const std::string& allow, PermissionScope scope) override; bool is_granted(PermissionScope perm, const std::string_view& param) override; // For debugging purposes, use the gist function to print the whole tree diff --git a/src/permission/permission.h b/src/permission/permission.h index 72928f853c4b87..61341ab29134f2 100644 --- a/src/permission/permission.h +++ b/src/permission/permission.h @@ -46,7 +46,7 @@ class Permission { const std::string_view& res); // CLI Call - void Apply(const std::string& deny, PermissionScope scope); + void Apply(const std::string& allow, PermissionScope scope); void EnablePermissions(); private: