7
The XoopsGroupPerm and XoopsGroupPermHandler classes handle group permissions in XOOPS core.
Basically, a group permission has:
1) A name (e.g. "module_read" or "news_submit")
2) An itemid (e.g. the newsstory topic)
3) A groupid (the group which has access - one record per group)
4) A moduleid
The grouppermhandler class has one very important method:
checkRight, which is used to check if a group (or an array of groups) have permissions to a certain name on a certain item in a certain module.
Also, addRight is used to set a permission if not using a XoopsGroupPermForm to set permissions.
I believe the table is `groupperm` but I'll have to check. More information on group permissions are in the
dev.xoops wiki