mirror of
https://github.com/niusmallnan/steve.git
synced 2025-08-01 14:07:19 +00:00
test access store
This commit is contained in:
parent
e0e130a12c
commit
feb489502a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user