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 | fe35f0f3308b74efaab479f96e37db1c812232fb (patch) | |
| tree | 9e218acec61981180d6b838a3c2ccb5d57d8c05d /internal/user | |
| parent | 75d8d2f057a0fef8643c9ff47ae53dd2c64007fc (diff) | |
| parent | d89516d8845e3dc955439b82881b90843753985f (diff) | |
Merge pull request #23 from snonux/develop
Add a DTail Gopher
Diffstat (limited to 'internal/user')
| -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 { |
