Fixed incompatible parameter type in grant and revoke operations