From 6d228ca090b1035b2d3de535689cf5de3966b58e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 3 Apr 2021 14:31:13 +0100 Subject: Typo --- internal/user/server/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/user/server/user.go b/internal/user/server/user.go index fc5d6c1..af6b0d0 100644 --- a/internal/user/server/user.go +++ b/internal/user/server/user.go @@ -37,7 +37,7 @@ func (u *User) String() string { return fmt.Sprintf("%s@%s", u.Name, u.remoteAddress) } -// HasFilePermission is used to determine whether user is allowwed to read a file. +// HasFilePermission is used to determine whether user is allowed to read a file. func (u *User) HasFilePermission(filePath, permissionType string) (hasPermission bool) { logger.Debug(u, filePath, permissionType, "Checking config permissions") if config.ServerRelaxedAuthEnable { -- cgit v1.2.3