Added `grant_perm` and `revoke_perm` methods to the `FunctionalTestEnvironment` class.