*: support revoking a key from a role in auth v3

This commit implements RoleRevoke() RPC for supporting revoking a key
from a role in auth v3. It also adds a new subcommand "role revoke" to
etcdctl.
This commit is contained in:
Hitoshi Mitake 2016-06-03 17:10:08 +09:00 committed by Hitoshi Mitake
parent 957b07c408
commit 0cb1343109
10 changed files with 435 additions and 207 deletions

View File

@ -88,6 +88,9 @@ type AuthStore interface {
// RoleGet gets the detailed information of a role // RoleGet gets the detailed information of a role
RoleGet(r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error) RoleGet(r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error)
// RoleRevoke gets the detailed information of a role
RoleRevoke(r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error)
// UsernameFromToken gets a username from the given Token // UsernameFromToken gets a username from the given Token
UsernameFromToken(token string) (string, bool) UsernameFromToken(token string) (string, bool)
@ -389,6 +392,42 @@ func (as *authStore) RoleGet(r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse,
return &resp, nil return &resp, nil
} }
func (as *authStore) RoleRevoke(r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) {
tx := as.be.BatchTx()
tx.Lock()
defer tx.Unlock()
_, vs := tx.UnsafeRange(authRolesBucketName, []byte(r.Role), nil, 0)
if len(vs) != 1 {
return nil, ErrRoleNotFound
}
role := &authpb.Role{}
err := role.Unmarshal(vs[0])
if err != nil {
return nil, err
}
updatedRole := &authpb.Role{}
updatedRole.Name = role.Name
for _, perm := range role.KeyPermission {
if !bytes.Equal(perm.Key, []byte(r.Key)) {
updatedRole.KeyPermission = append(updatedRole.KeyPermission, perm)
}
}
marshaledRole, merr := updatedRole.Marshal()
if merr != nil {
return nil, merr
}
tx.UnsafePut(authRolesBucketName, updatedRole.Name, marshaledRole)
plog.Noticef("revoked key %s from role %s", r.Key, r.Role)
return &pb.AuthRoleRevokeResponse{}, nil
}
func (as *authStore) RoleAdd(r *pb.AuthRoleAddRequest) (*pb.AuthRoleAddResponse, error) { func (as *authStore) RoleAdd(r *pb.AuthRoleAddRequest) (*pb.AuthRoleAddResponse, error) {
tx := as.be.BatchTx() tx := as.be.BatchTx()
tx.Lock() tx.Lock()

View File

@ -38,6 +38,7 @@ type (
AuthRoleAddResponse pb.AuthRoleAddResponse AuthRoleAddResponse pb.AuthRoleAddResponse
AuthRoleGrantResponse pb.AuthRoleGrantResponse AuthRoleGrantResponse pb.AuthRoleGrantResponse
AuthRoleGetResponse pb.AuthRoleGetResponse AuthRoleGetResponse pb.AuthRoleGetResponse
AuthRoleRevokeResponse pb.AuthRoleRevokeResponse
PermissionType authpb.Permission_Type PermissionType authpb.Permission_Type
) )
@ -81,6 +82,9 @@ type Auth interface {
// RoleGet gets a detailed information of a role. // RoleGet gets a detailed information of a role.
RoleGet(ctx context.Context, role string) (*AuthRoleGetResponse, error) RoleGet(ctx context.Context, role string) (*AuthRoleGetResponse, error)
// RoleRevoke revokes a key from a user.
RoleRevoke(ctx context.Context, role string, key string) (*AuthRoleRevokeResponse, error)
} }
type auth struct { type auth struct {
@ -158,6 +162,11 @@ func (auth *auth) RoleGet(ctx context.Context, role string) (*AuthRoleGetRespons
return (*AuthRoleGetResponse)(resp), rpctypes.Error(err) return (*AuthRoleGetResponse)(resp), rpctypes.Error(err)
} }
func (auth *auth) RoleRevoke(ctx context.Context, role string, key string) (*AuthRoleRevokeResponse, error) {
resp, err := auth.remote.RoleRevoke(ctx, &pb.AuthRoleRevokeRequest{Role: role, Key: key})
return (*AuthRoleRevokeResponse)(resp), rpctypes.Error(err)
}
func StrToPermissionType(s string) (PermissionType, error) { func StrToPermissionType(s string) (PermissionType, error) {
val, ok := authpb.Permission_Type_value[strings.ToUpper(s)] val, ok := authpb.Permission_Type_value[strings.ToUpper(s)]
if ok { if ok {

View File

@ -32,6 +32,7 @@ func NewRoleCommand() *cobra.Command {
ac.AddCommand(newRoleAddCommand()) ac.AddCommand(newRoleAddCommand())
ac.AddCommand(newRoleGrantCommand()) ac.AddCommand(newRoleGrantCommand())
ac.AddCommand(newRoleGetCommand()) ac.AddCommand(newRoleGetCommand())
ac.AddCommand(newRoleRevokePermissionCommand())
return ac return ac
} }
@ -60,6 +61,14 @@ func newRoleGetCommand() *cobra.Command {
} }
} }
func newRoleRevokePermissionCommand() *cobra.Command {
return &cobra.Command{
Use: "revoke-permission <role name> <key>",
Short: "revoke a key from a role",
Run: roleRevokePermissionCommandFunc,
}
}
// roleAddCommandFunc executes the "role add" command. // roleAddCommandFunc executes the "role add" command.
func roleAddCommandFunc(cmd *cobra.Command, args []string) { func roleAddCommandFunc(cmd *cobra.Command, args []string) {
if len(args) != 1 { if len(args) != 1 {
@ -118,3 +127,17 @@ func roleGetCommandFunc(cmd *cobra.Command, args []string) {
} }
} }
} }
// roleRevokePermissionCommandFunc executes the "role revoke-permission" command.
func roleRevokePermissionCommandFunc(cmd *cobra.Command, args []string) {
if len(args) != 2 {
ExitWithError(ExitBadArgs, fmt.Errorf("role revoke-permission command requires role name and key as its argument."))
}
_, err := mustClientFromCmd(cmd).Auth.RoleRevoke(context.TODO(), args[0], args[1])
if err != nil {
ExitWithError(ExitError, err)
}
fmt.Printf("Permission of key %s is revoked from role %s\n", args[1], args[0])
}

View File

@ -74,8 +74,11 @@ func (as *AuthServer) RoleGet(ctx context.Context, r *pb.AuthRoleGetRequest) (*p
} }
func (as *AuthServer) RoleRevoke(ctx context.Context, r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) { func (as *AuthServer) RoleRevoke(ctx context.Context, r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) {
plog.Info("not implemented yet") resp, err := as.authenticator.RoleRevoke(ctx, r)
return nil, nil if err != nil {
return nil, togRPCError(err)
}
return resp, nil
} }
func (as *AuthServer) RoleGrant(ctx context.Context, r *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error) { func (as *AuthServer) RoleGrant(ctx context.Context, r *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error) {

View File

@ -66,6 +66,7 @@ type applierV3 interface {
RoleAdd(ua *pb.AuthRoleAddRequest) (*pb.AuthRoleAddResponse, error) RoleAdd(ua *pb.AuthRoleAddRequest) (*pb.AuthRoleAddResponse, error)
RoleGrant(ua *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error) RoleGrant(ua *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error)
RoleGet(ua *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error) RoleGet(ua *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error)
RoleRevoke(ua *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error)
} }
type applierV3backend struct { type applierV3backend struct {
@ -123,6 +124,8 @@ func (s *EtcdServer) applyV3Request(r *pb.InternalRaftRequest) *applyResult {
ar.resp, ar.err = s.applyV3.RoleGrant(r.AuthRoleGrant) ar.resp, ar.err = s.applyV3.RoleGrant(r.AuthRoleGrant)
case r.AuthRoleGet != nil: case r.AuthRoleGet != nil:
ar.resp, ar.err = s.applyV3.RoleGet(r.AuthRoleGet) ar.resp, ar.err = s.applyV3.RoleGet(r.AuthRoleGet)
case r.AuthRoleRevoke != nil:
ar.resp, ar.err = s.applyV3.RoleRevoke(r.AuthRoleRevoke)
default: default:
panic("not implemented") panic("not implemented")
} }
@ -561,6 +564,10 @@ func (a *applierV3backend) RoleGet(r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetRes
return a.s.AuthStore().RoleGet(r) return a.s.AuthStore().RoleGet(r)
} }
func (a *applierV3backend) RoleRevoke(r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) {
return a.s.AuthStore().RoleRevoke(r)
}
type quotaApplierV3 struct { type quotaApplierV3 struct {
applierV3 applierV3
q Quota q Quota

View File

@ -56,6 +56,7 @@ type InternalRaftRequest struct {
AuthUserGet *AuthUserGetRequest `protobuf:"bytes,1019,opt,name=auth_user_get,json=authUserGet" json:"auth_user_get,omitempty"` AuthUserGet *AuthUserGetRequest `protobuf:"bytes,1019,opt,name=auth_user_get,json=authUserGet" json:"auth_user_get,omitempty"`
AuthRoleGet *AuthRoleGetRequest `protobuf:"bytes,1020,opt,name=auth_role_get,json=authRoleGet" json:"auth_role_get,omitempty"` AuthRoleGet *AuthRoleGetRequest `protobuf:"bytes,1020,opt,name=auth_role_get,json=authRoleGet" json:"auth_role_get,omitempty"`
AuthUserRevoke *AuthUserRevokeRequest `protobuf:"bytes,1021,opt,name=auth_user_revoke,json=authUserRevoke" json:"auth_user_revoke,omitempty"` AuthUserRevoke *AuthUserRevokeRequest `protobuf:"bytes,1021,opt,name=auth_user_revoke,json=authUserRevoke" json:"auth_user_revoke,omitempty"`
AuthRoleRevoke *AuthRoleRevokeRequest `protobuf:"bytes,1022,opt,name=auth_role_revoke,json=authRoleRevoke" json:"auth_role_revoke,omitempty"`
} }
func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} } func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} }
@ -371,6 +372,18 @@ func (m *InternalRaftRequest) MarshalTo(data []byte) (int, error) {
} }
i += n22 i += n22
} }
if m.AuthRoleRevoke != nil {
data[i] = 0xf2
i++
data[i] = 0x3f
i++
i = encodeVarintRaftInternal(data, i, uint64(m.AuthRoleRevoke.Size()))
n23, err := m.AuthRoleRevoke.MarshalTo(data[i:])
if err != nil {
return 0, err
}
i += n23
}
return i, nil return i, nil
} }
@ -526,6 +539,10 @@ func (m *InternalRaftRequest) Size() (n int) {
l = m.AuthUserRevoke.Size() l = m.AuthUserRevoke.Size()
n += 2 + l + sovRaftInternal(uint64(l)) n += 2 + l + sovRaftInternal(uint64(l))
} }
if m.AuthRoleRevoke != nil {
l = m.AuthRoleRevoke.Size()
n += 2 + l + sovRaftInternal(uint64(l))
}
return n return n
} }
@ -1420,6 +1437,39 @@ func (m *InternalRaftRequest) Unmarshal(data []byte) error {
return err return err
} }
iNdEx = postIndex iNdEx = postIndex
case 1022:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleRevoke", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRaftInternal
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
msglen |= (int(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthRaftInternal
}
postIndex := iNdEx + msglen
if postIndex > l {
return io.ErrUnexpectedEOF
}
if m.AuthRoleRevoke == nil {
m.AuthRoleRevoke = &AuthRoleRevokeRequest{}
}
if err := m.AuthRoleRevoke.Unmarshal(data[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipRaftInternal(data[iNdEx:]) skippy, err := skipRaftInternal(data[iNdEx:])
@ -1597,46 +1647,47 @@ var (
) )
var fileDescriptorRaftInternal = []byte{ var fileDescriptorRaftInternal = []byte{
// 644 bytes of a gzipped FileDescriptorProto // 659 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x95, 0xcb, 0x6f, 0xd3, 0x4c, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x95, 0x5b, 0x6f, 0xd3, 0x30,
0x14, 0xc5, 0xbf, 0xa6, 0xef, 0x49, 0xd3, 0x56, 0xd3, 0x0f, 0x34, 0x04, 0xa9, 0x94, 0x20, 0x24, 0x14, 0xc7, 0x59, 0x77, 0x77, 0xdb, 0x6d, 0xf2, 0x00, 0x99, 0x22, 0x8d, 0x51, 0x84, 0x84, 0x40,
0x04, 0x52, 0x41, 0xed, 0x92, 0x05, 0x84, 0xa6, 0x94, 0x0a, 0x84, 0x2a, 0x0b, 0xd6, 0xd6, 0xd4, 0x1a, 0x68, 0x7b, 0xe4, 0x01, 0xca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f, 0xe3, 0x41, 0x9e, 0xa5, 0x49, 0xbc, 0xcd, 0x9b, 0xf9, 0xec, 0x4b, 0x9e, 0x1a, 0xcb, 0xf0, 0xfe, 0x8d, 0xe5, 0xc9, 0x29, 0x3c,
0x0e, 0x0f, 0x36, 0xcf, 0x3f, 0x6c, 0xff, 0x77, 0xfe, 0x71, 0x7b, 0xee, 0xad, 0xf8, 0xbd, 0x17, 0xbc, 0x4a, 0x6e, 0x2f, 0xa3, 0xe6, 0xce, 0x20, 0xe7, 0x6f, 0x02, 0x28, 0xf2, 0x2c, 0x2d, 0xe0,
0xbf, 0xd3, 0x25, 0xf5, 0x1f, 0xb2, 0xff, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x2d, 0xe3, 0x72, 0x0d, 0xc1, 0xca, 0xc9, 0x87, 0xb5, 0x73, 0x27, 0x1f, 0xd7, 0xa6, 0xde, 0x89, 0xdf, 0x7b, 0xf1, 0x3b,
0x9b, 0x06, 0x00, 0x00, 0x98, 0x53, 0xff, 0x49, 0x5b, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x04, 0x90, 0xdc, 0xeb,
0x06, 0x00, 0x00,
} }

View File

@ -47,6 +47,7 @@ message InternalRaftRequest {
AuthUserGetRequest auth_user_get = 1019; AuthUserGetRequest auth_user_get = 1019;
AuthRoleGetRequest auth_role_get = 1020; AuthRoleGetRequest auth_role_get = 1020;
AuthUserRevokeRequest auth_user_revoke = 1021; AuthUserRevokeRequest auth_user_revoke = 1021;
AuthRoleRevokeRequest auth_role_revoke = 1022;
} }
message EmptyResponse { message EmptyResponse {

View File

@ -1649,6 +1649,8 @@ func (m *AuthRoleGrantRequest) GetPerm() *authpb.Permission {
} }
type AuthRoleRevokeRequest struct { type AuthRoleRevokeRequest struct {
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
} }
func (m *AuthRoleRevokeRequest) Reset() { *m = AuthRoleRevokeRequest{} } func (m *AuthRoleRevokeRequest) Reset() { *m = AuthRoleRevokeRequest{} }
@ -5412,6 +5414,18 @@ func (m *AuthRoleRevokeRequest) MarshalTo(data []byte) (int, error) {
_ = i _ = i
var l int var l int
_ = l _ = l
if len(m.Role) > 0 {
data[i] = 0xa
i++
i = encodeVarintRpc(data, i, uint64(len(m.Role)))
i += copy(data[i:], m.Role)
}
if len(m.Key) > 0 {
data[i] = 0x12
i++
i = encodeVarintRpc(data, i, uint64(len(m.Key)))
i += copy(data[i:], m.Key)
}
return i, nil return i, nil
} }
@ -6725,6 +6739,14 @@ func (m *AuthRoleGrantRequest) Size() (n int) {
func (m *AuthRoleRevokeRequest) Size() (n int) { func (m *AuthRoleRevokeRequest) Size() (n int) {
var l int var l int
_ = l _ = l
l = len(m.Role)
if l > 0 {
n += 1 + l + sovRpc(uint64(l))
}
l = len(m.Key)
if l > 0 {
n += 1 + l + sovRpc(uint64(l))
}
return n return n
} }
@ -12859,6 +12881,64 @@ func (m *AuthRoleRevokeRequest) Unmarshal(data []byte) error {
return fmt.Errorf("proto: AuthRoleRevokeRequest: illegal tag %d (wire type %d)", fieldNum, wire) return fmt.Errorf("proto: AuthRoleRevokeRequest: illegal tag %d (wire type %d)", fieldNum, wire)
} }
switch fieldNum { switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Role", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRpc
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthRpc
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Role = string(data[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowRpc
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := data[iNdEx]
iNdEx++
stringLen |= (uint64(b) & 0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthRpc
}
postIndex := iNdEx + intStringLen
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Key = string(data[iNdEx:postIndex])
iNdEx = postIndex
default: default:
iNdEx = preIndex iNdEx = preIndex
skippy, err := skipRpc(data[iNdEx:]) skippy, err := skipRpc(data[iNdEx:])
@ -14237,168 +14317,169 @@ var (
) )
var fileDescriptorRpc = []byte{ var fileDescriptorRpc = []byte{
// 2605 bytes of a gzipped FileDescriptorProto // 2617 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x72, 0x1b, 0xc7, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x72, 0x1b, 0xc7,
0x11, 0x26, 0x7e, 0x08, 0x10, 0x0d, 0x10, 0xa2, 0x86, 0x94, 0x4c, 0x41, 0x3f, 0x96, 0x57, 0x92, 0xf1, 0x27, 0x3e, 0x08, 0x10, 0x0d, 0x10, 0xa2, 0x86, 0x94, 0x4c, 0x41, 0x1f, 0x96, 0x47, 0x92,
0xad, 0xc4, 0x0e, 0x15, 0x33, 0xce, 0x21, 0x15, 0x97, 0x5c, 0x20, 0x01, 0x4b, 0x0c, 0x29, 0x52, 0xad, 0xff, 0xdf, 0x0e, 0x15, 0x33, 0xce, 0x21, 0x15, 0x47, 0x2e, 0x90, 0x80, 0x25, 0x86, 0x14,
0x5e, 0x82, 0x54, 0x7c, 0x62, 0x2d, 0x80, 0x11, 0xb9, 0x25, 0xfc, 0x79, 0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0xd9, 0xc4, 0x56, 0x9c, 0x58, 0x98, 0xa0, 0x26, 0x9d, 0x98, 0x59, 0x30, 0x37, 0xee, 0xcc, 0xe5, 0x93, 0x44, 0x59, 0x69, 0xd2, 0xf6, 0xa7, 0xaa, 0xe2, 0xa4, 0xed, 0x4f, 0x27, 0xb6, 0xf2, 0xc4,
0x31, 0x45, 0x4e, 0x3f, 0xb1, 0x99, 0xaa, 0x39, 0x4d, 0x64, 0xf3, 0xc4, 0xb6, 0x6a, 0x7f, 0xf8, 0xc2, 0x04, 0x35, 0xe9, 0xc4, 0xec, 0xb2, 0xba, 0x76, 0x67, 0x2e, 0x8f, 0xad, 0xf2, 0xec, 0x13,
0xfb, 0xad, 0xdc, 0x9f, 0xf1, 0xdf, 0xdf, 0xf0, 0x5f, 0xb7, 0xc4, 0xff, 0xff, 0xd8, 0x8f, 0xfe, 0x9b, 0xaa, 0xad, 0x67, 0xa9, 0x6c, 0x9f, 0xd8, 0x56, 0xe5, 0xf7, 0x7f, 0xbb, 0x95, 0xf9, 0x13,
0x1b, 0x00, 0x00, 0xff, 0xff, 0x82, 0xfb, 0xea, 0x9b, 0xa8, 0x26, 0x00, 0x00, 0xfe, 0xfb, 0x2b, 0xfe, 0x6b, 0x17, 0xc4, 0xff, 0x32, 0xfb, 0xc1, 0x7f, 0x02, 0x00, 0x00, 0xff,
0xff, 0x21, 0x44, 0x29, 0x94, 0xce, 0x26, 0x00, 0x00,
} }

View File

@ -619,6 +619,8 @@ message AuthRoleGrantRequest {
} }
message AuthRoleRevokeRequest { message AuthRoleRevokeRequest {
string role = 1;
string key = 2;
} }
message AuthEnableResponse { message AuthEnableResponse {

View File

@ -68,6 +68,7 @@ type Authenticator interface {
RoleAdd(ctx context.Context, r *pb.AuthRoleAddRequest) (*pb.AuthRoleAddResponse, error) RoleAdd(ctx context.Context, r *pb.AuthRoleAddRequest) (*pb.AuthRoleAddResponse, error)
RoleGrant(ctx context.Context, r *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error) RoleGrant(ctx context.Context, r *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error)
RoleGet(ctx context.Context, r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error) RoleGet(ctx context.Context, r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error)
RoleRevoke(ctx context.Context, r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error)
} }
func (s *EtcdServer) Range(ctx context.Context, r *pb.RangeRequest) (*pb.RangeResponse, error) { func (s *EtcdServer) Range(ctx context.Context, r *pb.RangeRequest) (*pb.RangeResponse, error) {
@ -369,6 +370,17 @@ func (s *EtcdServer) RoleGet(ctx context.Context, r *pb.AuthRoleGetRequest) (*pb
return result.resp.(*pb.AuthRoleGetResponse), nil return result.resp.(*pb.AuthRoleGetResponse), nil
} }
func (s *EtcdServer) RoleRevoke(ctx context.Context, r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) {
result, err := s.processInternalRaftRequest(ctx, pb.InternalRaftRequest{AuthRoleRevoke: r})
if err != nil {
return nil, err
}
if result.err != nil {
return nil, result.err
}
return result.resp.(*pb.AuthRoleRevokeResponse), nil
}
func (s *EtcdServer) usernameFromCtx(ctx context.Context) (string, error) { func (s *EtcdServer) usernameFromCtx(ctx context.Context) (string, error) {
md, mdexist := metadata.FromContext(ctx) md, mdexist := metadata.FromContext(ctx)
if mdexist { if mdexist {