Made create link widget work with new setpermissions strategy