Skip to content

Commit

Permalink
cephds: added a TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Nov 1, 2024
1 parent 62008f7 commit 314d039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/storage/fs/cephfs/connections.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ func newConn(user *User) *cacheVal {
}

if user != nil { //nil creates admin conn
// TODO(lopresti) here we may need to impersonate a different user in order to support ACLs!
perm = goceph.NewUserPerm(int(user.UidNumber), int(user.GidNumber), []int{})
if err = mount.SetMountPerms(perm); err != nil {
return destroyCephConn(mount, perm)
Expand Down

0 comments on commit 314d039

Please sign in to comment.