Update etcd Godeps to 3.0.13

This commit is contained in:
Wojciech Tyczynski
2016-10-27 13:40:05 +02:00
parent bb2c36a7c0
commit 9132965253
8 changed files with 128 additions and 122 deletions

View File

@@ -603,6 +603,11 @@ func (as *authStore) isOpPermitted(userName string, key, rangeEnd []byte, permTy
return false
}
// root role should have permission on all ranges
if hasRootRole(user) {
return true
}
if as.isRangeOpPermitted(tx, userName, key, rangeEnd, permTyp) {
return true
}