summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/user/server/user.go2
1 files changed, 1 insertions, 1 deletions
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 {