Merge pull request #956 to fix therapy groups permissions