diff options
| author | Paul Buetow <35781042+pbuetow@users.noreply.github.com> | 2021-04-06 11:00:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-06 11:00:37 +0100 |
| commit | 378f08ac848886e47571f791ae791c3106e892b3 (patch) | |
| tree | 9e218acec61981180d6b838a3c2ccb5d57d8c05d /internal/user/server/user.go | |
| parent | 9a467da883976c74d231ea9c7773430f583bab98 (diff) | |
| parent | 6d228ca090b1035b2d3de535689cf5de3966b58e (diff) | |
Merge pull request #23 from snonux/develop
Add a DTail Gopher
Diffstat (limited to 'internal/user/server/user.go')
| -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 637945c..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 alowed 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 { |
