OK - I've worked out a solution to my authentication problem based on Michael Coyne's AutoLogin plugin. Users who I've already authenticated using my own system are automatically logged into GT Forum. The AutoLogin plugin automatically creates a GT Forum account for each user the first time they access the forum.
The remaining problem is how to authorize users for specific forums based on the user's group memberships in my own group system. I have thousands of groups and don't want to have to mirror all of this information in the GT Forum database. Instead, I'd just like to replace the code that checks a user's permissions with code that queries my own system.
It appears that I could just modify GForum::Forum::permission() to do this, but I'm wondering if there's a better way. I'm concerned that if I start making direct modifications to GT code, I'll be unable to upgrade in the future (without a significant amount of pain). However, I don't see a way to use the plugin system to accomplish this. Am I missing something?
The remaining problem is how to authorize users for specific forums based on the user's group memberships in my own group system. I have thousands of groups and don't want to have to mirror all of this information in the GT Forum database. Instead, I'd just like to replace the code that checks a user's permissions with code that queries my own system.
It appears that I could just modify GForum::Forum::permission() to do this, but I'm wondering if there's a better way. I'm concerned that if I start making direct modifications to GT code, I'll be unable to upgrade in the future (without a significant amount of pain). However, I don't see a way to use the plugin system to accomplish this. Am I missing something?