Initial Support for Setting Replication grants

Initial support for setting up replication grants