Group permissions by the module that declared them.