I setup a new role called 'TEST_CLIENT_ROLE' and Granted USAGE and CREATE SCHEMA on a database called TEST_CLIENT_DB. I didnt grant any explicit permissions to CREATE STAGE on this database or schema. But still user belonging to the role is able to create stage.
I also explicitly revoke CREATE STAGE on the role like below
REVOKE CREATE STAGE ON ALL SCHEMAS IN DATABASE TEST_CLIENT_DB FROM ROLE TEST_CLIENT_ROLE;
REVOKE CREATE STAGE ON FUTURE SCHEMAS IN DATABASE TEST_CLIENT_DB FROM ROLE TEST_CLIENT_ROLE;
But still the user in that role is able to create stage under that database schema.
Can someone help me out in figuring how to make sure that a role cant create stage under a database/schema