diff --git a/etcdserver/auth/auth.go b/etcdserver/auth/auth.go index 3f42dfa2e..609ee7aeb 100644 --- a/etcdserver/auth/auth.go +++ b/etcdserver/auth/auth.go @@ -53,8 +53,8 @@ var rootRole = Role{ Role: RootRoleName, Permissions: Permissions{ KV: RWPermission{ - Read: []string{"*"}, - Write: []string{"*"}, + Read: []string{"/*"}, + Write: []string{"/*"}, }, }, } @@ -63,8 +63,8 @@ var guestRole = Role{ Role: GuestRoleName, Permissions: Permissions{ KV: RWPermission{ - Read: []string{"*"}, - Write: []string{"*"}, + Read: []string{"/*"}, + Write: []string{"/*"}, }, }, }