I am a muppet. Fixes assigning action permissions