test access store

This commit is contained in:
niusmallnan 2021-10-18 14:44:31 +08:00
parent e0e130a12c
commit feb489502a

View File

@ -50,6 +50,7 @@ func (l *AccessStore) AccessFor(user user.Info) *AccessSet {
val, ok := l.cache.Get(cacheKey)
if ok {
logrus.Infof("******* AccessFor got cache via key: %s, user: %+v", cacheKey, user)
logrus.Infof("******* cache key: %s, %+v", cacheKey, l.cache)
as, _ := val.(*AccessSet)
return as
}