Closes #3260768
This changes the GuidelinePermissions to use the GuidelineType class instead of the Guideline one.