Merge pull request #3868 from xiang90/fix_auth_guest

auth: use canonical path for pre-defined guest role
This commit is contained in:
Xiang Li 2015-11-15 19:17:16 -08:00
commit fdd87cd899

View File

@ -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{"/*"},
},
},
}