summaryrefslogtreecommitdiff
path: root/internal/user/server/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/user/server/user.go')
-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 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 {