The past tense of gain access to is gained access to.
The third-person singular simple present indicative form of gain access to is gains access to.
The present participle of gain access to is gaining access to.
The past participle of gain access to is gained access to.