Remove client side permissions logic and use graphql return value for lock directory button

use the graphql query updated for pathLocks after #512677 (closed) in lock_directory_button and remove the logic temporarily implemented in !178087 (diffs)

two additional things to confirm:

  • does this support a project with members exceeding the original page size? slack (internal)
  • can we still show LFS that's locked in blob view. !183594 (comment 2402633539)
Edited Mar 20, 2025 by Chaoyue Zhao
Assignee Loading
Time tracking Loading