Some fixes on pin edit and file locks, allow http pinning