diff options
| author | Paul Buetow <git@mx.buetow.org> | 2021-04-03 14:31:13 +0100 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-04-03 14:31:13 +0100 |
| commit | 6d228ca090b1035b2d3de535689cf5de3966b58e (patch) | |
| tree | 9e218acec61981180d6b838a3c2ccb5d57d8c05d | |
| parent | 4dcb77447500271377bb9bb5186d614dfb5bd2d0 (diff) | |
Typo
| -rw-r--r-- | internal/user/server/user.go | 2 |
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 { |
