Fix doc comments and IDE complaint about ie. vs i.e. (#30340)

Этот коммит содержится в:
enzowritescode
2025-02-26 08:17:56 -07:00
коммит произвёл GitHub
родитель 8e9a09e512
Коммит 77ae2e2d6d
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@@ -121,7 +121,7 @@ func (a *App) SessionHasPermissionToChannels(c request.CTX, session model.Sessio
}
}
// if System Roles (ie. Admin, TeamAdmin) allow permissions
// if System Roles (i.e. Admin, TeamAdmin) allow permissions
// if so, no reason to check team
if a.SessionHasPermissionTo(session, permission) {
// make sure all channels exist, otherwise return false.

Просмотреть файл

@@ -382,7 +382,7 @@ var PermissionRunView *Permission
var PermissionSysconsoleReadProductsBoards *Permission
var PermissionSysconsoleWriteProductsBoards *Permission
// General permission that encompasses all system admin functions
// PermissionManageSystem is a general permission that encompasses all system admin functions
// in the future this could be broken up to allow access to some
// admin functions but not others
var PermissionManageSystem *Permission

Просмотреть файл

@@ -83,7 +83,7 @@ func (s *Session) Auditable() map[string]interface{} {
}
}
// Returns true if the session is unrestricted, which should grant it
// IsUnrestricted returns true if the session is unrestricted, which should grant it
// with all permissions. This is used for local mode sessions
func (s *Session) IsUnrestricted() bool {
return s.Local