From c1eb0f499c6cc1ec03e18bd2b50a4d52bbf4d138 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 3 Apr 2021 14:20:56 +0100 Subject: Fix misspellings --- internal/user/server/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/user/server') diff --git a/internal/user/server/user.go b/internal/user/server/user.go index 637945c..fc5d6c1 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 alowed to read a file. +// HasFilePermission is used to determine whether user is allowwed 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