def METHOD_NAME(self, node=None):
    """Check that user is only able to execute DROP DICTIONARY when they have required privilege, either directly or via role.
    """
    role_name = f"role_{getuid()}"
    user_name = f"user_{getuid()}"
    if node is None:
        node = self.context.node
    with Suite("user with direct privilege"):
        with user(node, user_name):
            with When(f"I run checks that {user_name} is only able to execute DROP DICTIONARY with required privileges"):
                privilege_check(grant_target_name=user_name, user_name=user_name, node=node)
    with Suite("user with privilege via role"):
        with user(node, user_name), role(node, role_name):
            with When("I grant the role to the user"):
                node.query(f"GRANT {role_name} TO {user_name}")
            with And(f"I run checks that {user_name} with {role_name} is only able to execute DROP DICTIONARY with required privileges"):
                privilege_check(grant_target_name=role_name, user_name=user_name, node=node)