Removed confusing and obsolete comment (#10549)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
1a102e13c8
Коммит
b1f73109de
@@ -20,7 +20,6 @@ func (a *App) SessionHasPermissionTo(session model.Session, permission *model.Pe
|
||||
return a.RolesGrantPermission(session.GetUserRoles(), permission.Id)
|
||||
}
|
||||
|
||||
/// DO NOT USE: LEGACY
|
||||
func (a *App) SessionHasPermissionToTeam(session model.Session, teamId string, permission *model.Permission) bool {
|
||||
if teamId == "" {
|
||||
return false
|
||||
|
||||
Ссылка в новой задаче
Block a user