I created a share in snowflake and assigned permissions to only a few tables. But they can lookup any table. What's the problem?
I ran it with the script below.
CREATE SHARE test_share
GRANT USAGE ON DATABASE "DBNAME" TO SHARE test_share
GRANT USAGE ON SCHEMA "DBNAME"."SCHEMANAME" TO SHARE test_share
GRANT SELECT ON TABLE "DBNAME"."SCHEMANAME"."TABLENAME" TO SHARE test_share
ALTER SHARE sparc_poc_share ADD ACCOUNTS=ConsumerName;