summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-23 12:49:28 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-23 12:49:28 -0700
commit1626a6de6f16ba0878160b0a7eae9f49b8d34d4f (patch)
treeabc9088402a783c2e1908fb2db93ad84731827dd /store/store.go
parent9e04909c0a3672d27c148c931d82b225cc86dfe5 (diff)
downloadchat-1626a6de6f16ba0878160b0a7eae9f49b8d34d4f.tar.gz
chat-1626a6de6f16ba0878160b0a7eae9f49b8d34d4f.tar.bz2
chat-1626a6de6f16ba0878160b0a7eae9f49b8d34d4f.zip
PLT-349 adding team mgt to admin console
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go
index c9d40cfa5..7ba3e1d99 100644
--- a/store/store.go
+++ b/store/store.go
@@ -47,7 +47,7 @@ type TeamStore interface {
Get(id string) StoreChannel
GetByName(name string) StoreChannel
GetTeamsForEmail(domain string) StoreChannel
- GetForExport() StoreChannel
+ GetAll() StoreChannel
}
type ChannelStore interface {
@@ -110,6 +110,7 @@ type SessionStore interface {
Get(sessionIdOrToken string) StoreChannel
GetSessions(userId string) StoreChannel
Remove(sessionIdOrToken string) StoreChannel
+ RemoveAllSessionsForTeam(teamId string) StoreChannel
UpdateLastActivityAt(sessionId string, time int64) StoreChannel
UpdateRoles(userId string, roles string) StoreChannel
}