https://github.com/etcd-io/etcd
Revision 6ed56cd7230602e663c7c19be66bb66683867df2 authored by Anthony Romano on 10 March 2017, 19:07:11 UTC, committed by Gyu-Ho Lee on 17 March 2017, 21:21:39 UTC
If the context does not include auth information, get authinfo will
return a nil auth info and a nil error. This is then passed to
IsAdminPermitted, which would dereference the nil auth info.
1 parent a3c6f6b
History
Tip revision: 6ed56cd7230602e663c7c19be66bb66683867df2 authored by Anthony Romano on 10 March 2017, 19:07:11 UTC
auth: nil check AuthInfo when checking admin permissions
Tip revision: 6ed56cd
File Mode Size
.github
Documentation
alarm
auth
client
clientv3
cmd
compactor
contrib
discovery
e2e
embed
error
etcdctl
etcdmain
etcdserver
hack
integration
lease
logos
mvcc
pkg
proxy
raft
rafthttp
scripts
snap
store
tools
version
wal
.dockerignore -rw-r--r-- 5 bytes
.gitignore -rw-r--r-- 177 bytes
.godir -rw-r--r-- 23 bytes
.header -rw-r--r-- 593 bytes
.travis.yml -rw-r--r-- 1.1 KB
CONTRIBUTING.md -rw-r--r-- 2.5 KB
DCO -rw-r--r-- 1.4 KB
Dockerfile -rw-r--r-- 177 bytes
Dockerfile-release -rw-r--r-- 198 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS -rw-r--r-- 395 bytes
NEWS -rw-r--r-- 2.9 KB
NOTICE -rw-r--r-- 126 bytes
Procfile -rw-r--r-- 1.5 KB
README.md -rw-r--r-- 5.8 KB
ROADMAP.md -rw-r--r-- 837 bytes
V2Procfile -rw-r--r-- 1.5 KB
build -rwxr-xr-x 1.7 KB
build.bat -rwxr-xr-x 51 bytes
build.ps1 -rw-r--r-- 2.7 KB
cover -rwxr-xr-x 638 bytes
etcd.conf.yml.sample -rw-r--r-- 3.4 KB
glide.lock -rw-r--r-- 4.7 KB
glide.yaml -rw-r--r-- 2.8 KB
main.go -rw-r--r-- 1.1 KB
test -rwxr-xr-x 8.3 KB

README.md

back to top