PDA

View Full Version : Forumpermission field (which one?)


jsodeman
02-21-2007, 06:18 AM
I'm trying to work out a user's permissions based on the mySQL data. I'm close but there's one thing throwing me off. Why does both the forumpermission table and also the usergroup table have a "forumpermissions" field?

I would think it would be one or the other and I can't work out which one I need to run the bit operations on to work out what a user's perms are.

Is the value in usergroup the default permissions for a user for all forums and the one in forumpermissions what overrides the default?

Any info on this?