Fix for #3331

Fix for #3331
Ah got it. I copied it from other areas in the framework. I'll fix it. Is there a way to access `mapActions` on the authorize objects that I should reference? Or, do users have to map actions in a custom authorize object?