table created by state_providers have wrong permissions
When app uses state_provider provided by haf and creates it's own table (for this example its context_metadata table) it requires additional grants to work properly:
GRANT USAGE ON SCHEMA hive TO hafbe_user;
GRANT SELECT ON ALL TABLES IN SCHEMA hive TO hafbe_user;
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA hive TO hafbe_user;
otherwise i encounter an error:
ERROR: permission denied for table hafbe_app_metadata