Fix wrong paramter name in permit_groups decorator