diff --git a/auth/store.go b/auth/store.go index 20b80653e..59fa485ef 100644 --- a/auth/store.go +++ b/auth/store.go @@ -91,6 +91,9 @@ type AuthStore interface { // RoleRevoke gets the detailed information of a role RoleRevoke(r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) + // RoleDelete gets the detailed information of a role + RoleDelete(r *pb.AuthRoleDeleteRequest) (*pb.AuthRoleDeleteResponse, error) + // UsernameFromToken gets a username from the given Token UsernameFromToken(token string) (string, bool) @@ -428,6 +431,34 @@ func (as *authStore) RoleRevoke(r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevoke return &pb.AuthRoleRevokeResponse{}, nil } +func (as *authStore) RoleDelete(r *pb.AuthRoleDeleteRequest) (*pb.AuthRoleDeleteResponse, error) { + // TODO(mitake): current scheme of role deletion allows existing users to have the deleted roles + // + // Assume a case like below: + // create a role r1 + // create a user u1 and grant r1 to u1 + // delete r1 + // + // After this sequence, u1 is still granted the role r1. So if admin create a new role with the name r1, + // the new r1 is automatically granted u1. + // In some cases, it would be confusing. So we need to provide an option for deleting the grant relation + // from all users. + + 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 + } + + tx.UnsafeDelete(authRolesBucketName, []byte(r.Role)) + + plog.Noticef("deleted role %s", r.Role) + return &pb.AuthRoleDeleteResponse{}, nil +} + func (as *authStore) RoleAdd(r *pb.AuthRoleAddRequest) (*pb.AuthRoleAddResponse, error) { tx := as.be.BatchTx() tx.Lock() diff --git a/clientv3/auth.go b/clientv3/auth.go index e32c23055..656363694 100644 --- a/clientv3/auth.go +++ b/clientv3/auth.go @@ -39,6 +39,7 @@ type ( AuthRoleGrantResponse pb.AuthRoleGrantResponse AuthRoleGetResponse pb.AuthRoleGetResponse AuthRoleRevokeResponse pb.AuthRoleRevokeResponse + AuthRoleDeleteResponse pb.AuthRoleDeleteResponse PermissionType authpb.Permission_Type ) @@ -85,6 +86,9 @@ type Auth interface { // RoleRevoke revokes a key from a user. RoleRevoke(ctx context.Context, role string, key string) (*AuthRoleRevokeResponse, error) + + // RoleDelete deletes a role. + RoleDelete(ctx context.Context, role string) (*AuthRoleDeleteResponse, error) } type auth struct { @@ -167,6 +171,11 @@ func (auth *auth) RoleRevoke(ctx context.Context, role string, key string) (*Aut return (*AuthRoleRevokeResponse)(resp), rpctypes.Error(err) } +func (auth *auth) RoleDelete(ctx context.Context, role string) (*AuthRoleDeleteResponse, error) { + resp, err := auth.remote.RoleDelete(ctx, &pb.AuthRoleDeleteRequest{Role: role}) + return (*AuthRoleDeleteResponse)(resp), rpctypes.Error(err) +} + func StrToPermissionType(s string) (PermissionType, error) { val, ok := authpb.Permission_Type_value[strings.ToUpper(s)] if ok { diff --git a/etcdctl/ctlv3/command/role_command.go b/etcdctl/ctlv3/command/role_command.go index 3ab7728e5..4702e08b9 100644 --- a/etcdctl/ctlv3/command/role_command.go +++ b/etcdctl/ctlv3/command/role_command.go @@ -33,6 +33,7 @@ func NewRoleCommand() *cobra.Command { ac.AddCommand(newRoleGrantCommand()) ac.AddCommand(newRoleGetCommand()) ac.AddCommand(newRoleRevokePermissionCommand()) + ac.AddCommand(newRoleDeleteCommand()) return ac } @@ -69,6 +70,14 @@ func newRoleRevokePermissionCommand() *cobra.Command { } } +func newRoleDeleteCommand() *cobra.Command { + return &cobra.Command{ + Use: "delete ", + Short: "delete a role", + Run: roleDeleteCommandFunc, + } +} + // roleAddCommandFunc executes the "role add" command. func roleAddCommandFunc(cmd *cobra.Command, args []string) { if len(args) != 1 { @@ -141,3 +150,17 @@ func roleRevokePermissionCommandFunc(cmd *cobra.Command, args []string) { fmt.Printf("Permission of key %s is revoked from role %s\n", args[1], args[0]) } + +// roleDeleteCommandFunc executes the "role delete" command. +func roleDeleteCommandFunc(cmd *cobra.Command, args []string) { + if len(args) != 1 { + ExitWithError(ExitBadArgs, fmt.Errorf("role delete command requires role name as its argument.")) + } + + _, err := mustClientFromCmd(cmd).Auth.RoleDelete(context.TODO(), args[0]) + if err != nil { + ExitWithError(ExitError, err) + } + + fmt.Printf("Role %s deleted\n", args[0]) +} diff --git a/etcdserver/api/v3rpc/auth.go b/etcdserver/api/v3rpc/auth.go index 4ab57207e..589e38001 100644 --- a/etcdserver/api/v3rpc/auth.go +++ b/etcdserver/api/v3rpc/auth.go @@ -61,8 +61,11 @@ func (as *AuthServer) RoleAdd(ctx context.Context, r *pb.AuthRoleAddRequest) (*p } func (as *AuthServer) RoleDelete(ctx context.Context, r *pb.AuthRoleDeleteRequest) (*pb.AuthRoleDeleteResponse, error) { - plog.Info("not implemented yet") - return nil, nil + resp, err := as.authenticator.RoleDelete(ctx, r) + if err != nil { + return nil, togRPCError(err) + } + return resp, nil } func (as *AuthServer) RoleGet(ctx context.Context, r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error) { diff --git a/etcdserver/apply.go b/etcdserver/apply.go index eefa65b5b..60f4ca104 100644 --- a/etcdserver/apply.go +++ b/etcdserver/apply.go @@ -67,6 +67,7 @@ type applierV3 interface { RoleGrant(ua *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error) RoleGet(ua *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error) RoleRevoke(ua *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) + RoleDelete(ua *pb.AuthRoleDeleteRequest) (*pb.AuthRoleDeleteResponse, error) } type applierV3backend struct { @@ -126,6 +127,8 @@ func (s *EtcdServer) applyV3Request(r *pb.InternalRaftRequest) *applyResult { ar.resp, ar.err = s.applyV3.RoleGet(r.AuthRoleGet) case r.AuthRoleRevoke != nil: ar.resp, ar.err = s.applyV3.RoleRevoke(r.AuthRoleRevoke) + case r.AuthRoleDelete != nil: + ar.resp, ar.err = s.applyV3.RoleDelete(r.AuthRoleDelete) default: panic("not implemented") } @@ -568,6 +571,10 @@ func (a *applierV3backend) RoleRevoke(r *pb.AuthRoleRevokeRequest) (*pb.AuthRole return a.s.AuthStore().RoleRevoke(r) } +func (a *applierV3backend) RoleDelete(r *pb.AuthRoleDeleteRequest) (*pb.AuthRoleDeleteResponse, error) { + return a.s.AuthStore().RoleDelete(r) +} + type quotaApplierV3 struct { applierV3 q Quota diff --git a/etcdserver/etcdserverpb/raft_internal.pb.go b/etcdserver/etcdserverpb/raft_internal.pb.go index e00abdf7e..ce91e5945 100644 --- a/etcdserver/etcdserverpb/raft_internal.pb.go +++ b/etcdserver/etcdserverpb/raft_internal.pb.go @@ -57,6 +57,7 @@ type InternalRaftRequest struct { 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"` AuthRoleRevoke *AuthRoleRevokeRequest `protobuf:"bytes,1022,opt,name=auth_role_revoke,json=authRoleRevoke" json:"auth_role_revoke,omitempty"` + AuthRoleDelete *AuthRoleDeleteRequest `protobuf:"bytes,1023,opt,name=auth_role_delete,json=authRoleDelete" json:"auth_role_delete,omitempty"` } func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} } @@ -384,6 +385,18 @@ func (m *InternalRaftRequest) MarshalTo(data []byte) (int, error) { } i += n23 } + if m.AuthRoleDelete != nil { + data[i] = 0xfa + i++ + data[i] = 0x3f + i++ + i = encodeVarintRaftInternal(data, i, uint64(m.AuthRoleDelete.Size())) + n24, err := m.AuthRoleDelete.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n24 + } return i, nil } @@ -543,6 +556,10 @@ func (m *InternalRaftRequest) Size() (n int) { l = m.AuthRoleRevoke.Size() n += 2 + l + sovRaftInternal(uint64(l)) } + if m.AuthRoleDelete != nil { + l = m.AuthRoleDelete.Size() + n += 2 + l + sovRaftInternal(uint64(l)) + } return n } @@ -1470,6 +1487,39 @@ func (m *InternalRaftRequest) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 1023: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuthRoleDelete", 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.AuthRoleDelete == nil { + m.AuthRoleDelete = &AuthRoleDeleteRequest{} + } + if err := m.AuthRoleDelete.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRaftInternal(data[iNdEx:]) @@ -1647,47 +1697,47 @@ var ( ) var fileDescriptorRaftInternal = []byte{ - // 659 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x95, 0x5b, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x59, 0x77, 0x77, 0xdb, 0x6d, 0xf2, 0x00, 0x99, 0x22, 0x8d, 0x51, 0x84, 0x84, 0x40, - 0x1a, 0x68, 0x7b, 0xe4, 0x01, 0xca, 0x3a, 0xc6, 0x04, 0x42, 0x53, 0x04, 0xcf, 0x95, 0x97, 0x1c, - 0xb2, 0x8a, 0x34, 0x09, 0x8e, 0x3b, 0xc6, 0x57, 0xe2, 0x93, 0xec, 0x91, 0x8f, 0x00, 0x3c, 0xf1, - 0xce, 0xfd, 0x2a, 0x7c, 0x8b, 0x33, 0xaf, 0x6e, 0x1f, 0x2a, 0x25, 0x7f, 0xff, 0xcf, 0xef, 0x1c, - 0xdb, 0xff, 0xa8, 0x68, 0x95, 0xd1, 0x17, 0xbc, 0xd7, 0x4f, 0x39,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 0x7b, 0xf1, 0x3b, - 0x98, 0x53, 0xff, 0x49, 0x5b, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x04, 0x90, 0xdc, 0xeb, - 0x06, 0x00, 0x00, + // 669 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x95, 0x4b, 0x6f, 0x13, 0x3f, + 0x14, 0xc5, 0xff, 0x4d, 0xdf, 0x4e, 0xd2, 0x56, 0xee, 0x1f, 0x64, 0x82, 0x54, 0x4a, 0x10, 0x12, + 0x02, 0xa9, 0xa0, 0x76, 0xc9, 0x02, 0x42, 0x53, 0x4a, 0x05, 0x42, 0xd5, 0x08, 0xd6, 0x91, 0x3b, + 0x73, 0x99, 0x46, 0x4c, 0x66, 0x06, 0x8f, 0x53, 0xca, 0x37, 0xec, 0x92, 0x8f, 0x00, 0xac, 0xd8, + 0xf3, 0x2e, 0x4f, 0xbf, 0xc6, 0x53, 0x37, 0x4e, 0x16, 0x91, 0x92, 0xe3, 0x73, 0x7f, 0xf7, 0xda, + 0x3e, 0x56, 0xd0, 0x2a, 0xa3, 0x2f, 0x78, 0xaf, 0x9f, 0x72, 0x60, 0x29, 0x4d, 0x36, 0x72, 0x96, + 0xf1, 0x0c, 0x37, 0x80, 0x87, 0x51, 0x01, 0xec, 0x08, 0x58, 0x7e, 0xd0, 0xfa, 0x3f, 0xce, 0xe2, + 0x4c, 0x2d, 0xdc, 0x96, 0xdf, 0xb4, 0xa7, 0xb5, 0x52, 0x79, 0x8c, 0xb2, 0xc8, 0xf2, 0x50, 0x7f, + 0x6d, 0xdf, 0x45, 0xcd, 0x00, 0x5e, 0x0d, 0xa1, 0xe0, 0x8f, 0x80, 0x46, 0xc0, 0xf0, 0x12, 0xaa, + 0xed, 0x75, 0xc9, 0xd4, 0xfa, 0xd4, 0x8d, 0x99, 0xa0, 0xd6, 0xef, 0xe2, 0x16, 0x5a, 0x18, 0x16, + 0xb2, 0xe5, 0x00, 0x48, 0x4d, 0xa8, 0x8b, 0x81, 0xfd, 0xdd, 0x3e, 0x6d, 0xa0, 0xd5, 0x3d, 0x33, + 0x50, 0x20, 0xa6, 0x33, 0xa4, 0x11, 0xc6, 0x75, 0x54, 0x3b, 0xda, 0x54, 0xd5, 0xf5, 0xcd, 0x0b, + 0x1b, 0x67, 0x47, 0xde, 0x30, 0x25, 0x81, 0x30, 0xe0, 0x3b, 0x68, 0x96, 0xd1, 0x34, 0x06, 0x32, + 0xad, 0x9c, 0xad, 0x73, 0x4e, 0xb9, 0x54, 0xda, 0xb5, 0x11, 0xdf, 0x44, 0xd3, 0xf9, 0x90, 0x93, + 0x19, 0xe5, 0x27, 0xae, 0x7f, 0x7f, 0x58, 0xce, 0x13, 0x48, 0x13, 0xde, 0x46, 0x8d, 0x08, 0x12, + 0xe0, 0xd0, 0xd3, 0x4d, 0x66, 0x55, 0xd1, 0xba, 0x5b, 0xd4, 0x55, 0x0e, 0xa7, 0x55, 0x3d, 0xaa, + 0x34, 0xd9, 0x90, 0x1f, 0xa7, 0x64, 0xce, 0xd7, 0xf0, 0xd9, 0x71, 0x6a, 0x1b, 0x0a, 0x13, 0xbe, + 0x87, 0x50, 0x98, 0x0d, 0x72, 0x1a, 0xf2, 0x7e, 0x96, 0x92, 0x79, 0x55, 0x72, 0xc5, 0x2d, 0xd9, + 0xb6, 0xeb, 0x65, 0xe5, 0x99, 0x12, 0x7c, 0x1f, 0xd5, 0x13, 0xa0, 0x05, 0xf4, 0x62, 0x31, 0x31, + 0x27, 0x0b, 0x3e, 0xc2, 0x13, 0x69, 0xd8, 0x95, 0xeb, 0x96, 0x90, 0x58, 0x49, 0xee, 0x59, 0x13, + 0x18, 0x1c, 0x65, 0x2f, 0x81, 0x2c, 0xfa, 0xf6, 0xac, 0x10, 0x81, 0x32, 0xd8, 0x3d, 0x27, 0x95, + 0x26, 0xaf, 0x85, 0x26, 0x94, 0x0d, 0x08, 0x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 0x0a, 0xa3, 0x67, 0xfa, + 0x31, 0x76, 0x26, 0x59, 0x34, 0x3a, 0x93, 0x55, 0xf1, 0x43, 0x1d, 0x13, 0x48, 0x79, 0x3f, 0xa4, + 0xe2, 0x56, 0x4e, 0x35, 0xe9, 0xea, 0x28, 0xa9, 0xb4, 0x94, 0x20, 0xa7, 0xce, 0x0d, 0x4a, 0x0c, + 0x9c, 0xfc, 0x9c, 0x18, 0x94, 0x5d, 0xe0, 0x23, 0x41, 0x11, 0x9a, 0x7b, 0x44, 0x12, 0xf3, 0x6b, + 0xe2, 0x11, 0x9d, 0xc7, 0x18, 0xcd, 0xcd, 0x9b, 0x79, 0xef, 0xbf, 0x27, 0xe6, 0xcd, 0x7d, 0xf3, + 0x36, 0x6f, 0xe6, 0xd9, 0x97, 0x3c, 0x35, 0x96, 0xe1, 0xfd, 0x19, 0xcb, 0x93, 0x53, 0x78, 0x78, + 0x95, 0xec, 0xf2, 0xcc, 0x7b, 0xf8, 0x3b, 0x91, 0xe7, 0x79, 0x0f, 0x95, 0xdc, 0x5e, 0x46, 0xcd, + 0x9d, 0x41, 0xce, 0xdf, 0x04, 0x50, 0xe4, 0x59, 0x5a, 0xc0, 0x83, 0x95, 0x93, 0xf7, 0x6b, 0xff, + 0x9d, 0x7c, 0x58, 0x9b, 0x7a, 0x2b, 0x3e, 0xef, 0xc4, 0xe7, 0x60, 0x4e, 0xfd, 0xc7, 0x6d, 0xfd, + 0x0b, 0x00, 0x00, 0xff, 0xff, 0x67, 0xc7, 0xcd, 0x49, 0x3b, 0x07, 0x00, 0x00, } diff --git a/etcdserver/etcdserverpb/raft_internal.proto b/etcdserver/etcdserverpb/raft_internal.proto index 37208adff..98ef2e44e 100644 --- a/etcdserver/etcdserverpb/raft_internal.proto +++ b/etcdserver/etcdserverpb/raft_internal.proto @@ -48,6 +48,7 @@ message InternalRaftRequest { AuthRoleGetRequest auth_role_get = 1020; AuthUserRevokeRequest auth_user_revoke = 1021; AuthRoleRevokeRequest auth_role_revoke = 1022; + AuthRoleDeleteRequest auth_role_delete = 1023; } message EmptyResponse { diff --git a/etcdserver/etcdserverpb/rpc.pb.go b/etcdserver/etcdserverpb/rpc.pb.go index 4e06d2d9a..aac87c6d8 100644 --- a/etcdserver/etcdserverpb/rpc.pb.go +++ b/etcdserver/etcdserverpb/rpc.pb.go @@ -1622,6 +1622,7 @@ func (*AuthRoleGetRequest) ProtoMessage() {} func (*AuthRoleGetRequest) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{54} } type AuthRoleDeleteRequest struct { + Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` } func (m *AuthRoleDeleteRequest) Reset() { *m = AuthRoleDeleteRequest{} } @@ -5362,6 +5363,12 @@ func (m *AuthRoleDeleteRequest) MarshalTo(data []byte) (int, error) { _ = i var l int _ = l + if len(m.Role) > 0 { + data[i] = 0xa + i++ + i = encodeVarintRpc(data, i, uint64(len(m.Role))) + i += copy(data[i:], m.Role) + } return i, nil } @@ -6719,6 +6726,10 @@ func (m *AuthRoleGetRequest) Size() (n int) { func (m *AuthRoleDeleteRequest) Size() (n int) { var l int _ = l + l = len(m.Role) + if l > 0 { + n += 1 + l + sovRpc(uint64(l)) + } return n } @@ -12719,6 +12730,35 @@ func (m *AuthRoleDeleteRequest) Unmarshal(data []byte) error { return fmt.Errorf("proto: AuthRoleDeleteRequest: illegal tag %d (wire type %d)", fieldNum, wire) } 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 default: iNdEx = preIndex skippy, err := skipRpc(data[iNdEx:]) @@ -14317,169 +14357,169 @@ var ( ) var fileDescriptorRpc = []byte{ - // 2617 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x72, 0x1b, 0xc7, - 0xf1, 0x27, 0x3e, 0x08, 0x10, 0x0d, 0x10, 0xa2, 0x86, 0x94, 0x4c, 0x41, 0x1f, 0x96, 0x47, 0x92, - 0xad, 0xff, 0xdf, 0x0e, 0x15, 0x33, 0xce, 0x21, 0x15, 0x47, 0x2e, 0x90, 0x80, 0x25, 0x86, 0x14, - 0x29, 0x2f, 0x41, 0x2a, 0x3e, 0xb1, 0x16, 0xc0, 0x88, 0x44, 0x09, 0x5f, 0xde, 0x5d, 0x50, 0xa2, - 0xaa, 0x72, 0x49, 0x55, 0x9e, 0xc0, 0x39, 0xa5, 0xf2, 0x02, 0x79, 0x80, 0xbc, 0x43, 0x2a, 0x97, - 0xe4, 0x09, 0x92, 0x54, 0x4e, 0xa9, 0x5c, 0x72, 0x4f, 0x2e, 0xe9, 0xf9, 0xda, 0x9d, 0x1d, 0x2c, - 0x20, 0x39, 0xab, 0x1c, 0x44, 0xee, 0xf4, 0x74, 0xff, 0xa6, 0xa7, 0xa7, 0xa7, 0xa7, 0xbb, 0x29, - 0x28, 0x79, 0xe3, 0xce, 0xc6, 0xd8, 0x1b, 0x05, 0x23, 0x52, 0x61, 0x41, 0xa7, 0xeb, 0x33, 0xef, - 0x9c, 0x79, 0xe3, 0x76, 0x6d, 0xed, 0x74, 0x74, 0x3a, 0x12, 0x13, 0x0f, 0xf8, 0x97, 0xe4, 0xa9, - 0x5d, 0xe3, 0x3c, 0x0f, 0x06, 0xe7, 0x9d, 0x8e, 0xf8, 0x31, 0x6e, 0x3f, 0x78, 0x71, 0xae, 0xa6, - 0xae, 0x8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82, 0xd9, 0x2e, 0x81, 0xa7, 0x7e, 0xce, 0x11, 0x94, 0x3b, 0xc8, 0x81, 0xf0, 0x05, 0xe6, 0xfa, - 0x2c, 0xf4, 0x05, 0x3e, 0xa0, 0xdb, 0x50, 0x16, 0x58, 0x69, 0x36, 0x82, 0x20, 0xa4, 0xc1, 0xfa, - 0x2c, 0x60, 0x29, 0x7c, 0x95, 0x32, 0x58, 0x8d, 0x81, 0xa4, 0x32, 0xed, 0x3a, 0x14, 0xbb, 0x02, - 0x4c, 0xae, 0x93, 0x73, 0xf4, 0x90, 0xfe, 0x33, 0x83, 0x57, 0x4a, 0x6a, 0x78, 0x34, 0xe4, 0x1e, - 0x5f, 0x87, 0x65, 0x4f, 0x8e, 0x4f, 0x84, 0x2e, 0x6a, 0x9d, 0xda, 0x6c, 0x77, 0x7d, 0xbc, 0xe0, - 0x54, 0x94, 0x88, 0x20, 0x93, 0x1f, 0x43, 0x59, 0x43, 0x8c, 0x27, 0x81, 0x58, 0xb1, 0xbc, 0xb9, - 0x1e, 0x07, 0x88, 0x4e, 0x0c, 0xc5, 0x41, 0xb1, 0x23, 0x91, 0xb4, 0x60, 0x4d, 0x0b, 0x4b, 0x1d, - 0x95, 0x1a, 0x39, 0x81, 0x72, 0x3b, 0x8e, 0x32, 0x6d, 0x66, 0x44, 0x23, 0x4a, 0xde, 0x98, 0xdc, - 0x2a, 0x41, 0x51, 0x51, 0xe9, 0xbf, 0x32, 0xe8, 0xae, 0xca, 0x4c, 0x72, 0xcb, 0x0d, 0xa8, 0x7a, - 0x8a, 0x10, 0xdb, 0xf3, 0xf5, 0xc4, 0x3d, 0x2b, 0x03, 0x2f, 0x38, 0xcb, 0x5a, 0x48, 0xee, 0xfa, - 0x21, 0x54, 0x42, 0x94, 0x68, 0xdb, 0xd7, 0x12, 0xb6, 0x1d, 0x22, 0x94, 0xb5, 0x00, 0xdf, 0xf8, - 0x33, 0xb8, 0x12, 0xca, 0x27, 0xec, 0xfc, 0x83, 0x39,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, 0xaf, - 0xd5, 0x92, 0xa6, 0x42, 0x80, 0x27, 0xb0, 0xa4, 0xfb, 0xea, 0xe4, 0xa6, 0xa5, 0x7f, 0xbc, 0x07, - 0x5f, 0xbb, 0x35, 0x6b, 0x5a, 0x83, 0xa1, 0x7b, 0xff, 0xa5, 0x04, 0x79, 0xfe, 0x4e, 0xf0, 0xbd, - 0x46, 0x49, 0xa8, 0xbd, 0xd7, 0xa9, 0xfa, 0xcb, 0xde, 0xeb, 0x74, 0xfe, 0x2a, 0xef, 0xbc, 0x91, - 0x8b, 0x92, 0x04, 0x91, 0x78, 0xf9, 0x66, 0xdf, 0xf9, 0x84, 0x44, 0x56, 0xfa, 0xb6, 0x99, 0x94, - 0x92, 0x04, 0x21, 0xab, 0xfe, 0xb3, 0x7d, 0x3b, 0x29, 0xa7, 0x45, 0xe0, 0xa7, 0x50, 0x54, 0x59, - 0x68, 0x92, 0xaa, 0xf1, 0x62, 0x30, 0x49, 0x55, 0x2b, 0x85, 0x8d, 0x10, 0x31, 0x27, 0x99, 0x85, - 0x18, 0x55, 0x31, 0xb3, 0x10, 0x8d, 0x84, 0x06, 0x11, 0xbf, 0x06, 0x88, 0x32, 0x4f, 0x3b, 0xd8, - 0x25, 0xd6, 0x90, 0x76, 0xb0, 0x4b, 0x4e, 0x5e, 0x11, 0xfa, 0x1b, 0x20, 0xd3, 0x49, 0x28, 0xf9, - 0x38, 0x59, 0x3a, 0xb1, 0xf2, 0xac, 0x7d, 0xf2, 0x76, 0xcc, 0xe1, 0x92, 0xc7, 0x50, 0x0a, 0xf3, - 0x53, 0x42, 0x67, 0xec, 0xdf, 0x7c, 0x69, 0xee, 0xcc, 0xe5, 0xb1, 0xad, 0xa4, 0xde, 0x9a, 0x19, - 0x42, 0xf1, 0xe7, 0xe6, 0xee, 0x7c, 0x26, 0xf3, 0x48, 0x55, 0xce, 0x9a, 0x74, 0xa4, 0xf1, 0x12, - 0x36, 0xe9, 0x48, 0xad, 0x84, 0x37, 0x42, 0x9c, 0xe1, 0x24, 0xf1, 0x52, 0x77, 0x16, 0xe2, 0x94, - 0x93, 0x44, 0x59, 0x69, 0xd2, 0xf6, 0xa7, 0xaa, 0xe2, 0xa4, 0xed, 0x4f, 0x27, 0xb6, 0xf2, 0xc4, - 0xc2, 0x04, 0x35, 0xe9, 0xc4, 0xec, 0xb2, 0xba, 0x76, 0x67, 0x2e, 0x8f, 0xad, 0xf2, 0xec, 0x13, - 0x9b, 0xaa, 0xad, 0x67, 0xa9, 0x6c, 0x9f, 0xd8, 0x56, 0xe5, 0xf7, 0x7f, 0xbb, 0x95, 0xf9, 0x13, - 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, + // 2616 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x5a, 0xcd, 0x72, 0x1c, 0x49, + 0x11, 0xd6, 0xfc, 0x68, 0x46, 0x93, 0x33, 0x1a, 0xcb, 0x25, 0xd9, 0xc8, 0xe3, 0x9f, 0xf5, 0xb6, + 0xed, 0x5d, 0xc3, 0x2e, 0x32, 0x2b, 0x96, 0x03, 0xc1, 0xe2, 0x8d, 0x91, 0x66, 0xd6, 0x16, 0x92, + 0x25, 0x6f, 0x6b, 0x24, 0xb3, 0x27, 0x45, 0xcf, 0x4c, 0x59, 0xea, 0xf0, 0xfc, 0x6d, 0x77, 0x8f, + 0x6c, 0x39, 0x82, 0x0b, 0x11, 0x3c, 0xc1, 0x72, 0x22, 0x78, 0x01, 0x1e, 0x80, 0x77, 0x20, 0xb8, + 0xc0, 0x13, 0x00, 0xc1, 0x89, 0xe0, 0xc2, 0x1d, 0x2e, 0x64, 0xfd, 0x75, 0x57, 0xd7, 0x74, 0x8f, + 0xbd, 0x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, 0x1f, 0xff, 0x27, 0x0f, 0xd5, + 0x27, 0x8e, 0x3b, 0x0a, 0xe8, 0x88, 0x35, 0xec, 0x58, 0xf4, 0xe0, 0x81, 0xc6, 0x74, 0x67, 0xbd, + 0xdc, 0x34, 0xdd, 0x39, 0x56, 0x8b, 0xa1, 0x9a, 0x6d, 0x28, 0x89, 0x92, 0x88, 0x18, 0x8c, 0xb1, + 0xd2, 0xa9, 0x71, 0x23, 0x79, 0x52, 0xdf, 0x6d, 0x54, 0x5d, 0x9b, 0xbb, 0x9d, 0x29, 0xc6, 0x1b, + 0xb7, 0xd3, 0x19, 0x42, 0xc8, 0xcf, 0xa1, 0xc8, 0x1a, 0xf3, 0xc4, 0x08, 0x15, 0x5a, 0xef, 0xbe, + 0xd1, 0x48, 0x9a, 0x0a, 0x01, 0x9e, 0xc0, 0x92, 0xea, 0xb5, 0x93, 0x9b, 0x86, 0xfe, 0xf1, 0xbe, + 0x7c, 0xe3, 0x56, 0xda, 0xb4, 0x02, 0x43, 0xf7, 0xfe, 0x6b, 0x05, 0x8a, 0xec, 0x9d, 0x60, 0x7b, + 0x8d, 0x92, 0x50, 0x73, 0xaf, 0x33, 0x35, 0x99, 0xb9, 0xd7, 0xd9, 0xfc, 0x55, 0xdc, 0x79, 0x2d, + 0x17, 0x25, 0x09, 0x22, 0xf1, 0x92, 0xce, 0xbc, 0xf3, 0x09, 0x89, 0xac, 0xf0, 0x6d, 0x3d, 0x29, + 0x25, 0x09, 0x42, 0x46, 0x4d, 0x68, 0xfa, 0x76, 0x52, 0x4e, 0x8b, 0xc0, 0x4f, 0xa1, 0x2c, 0xb3, + 0xd0, 0x24, 0x55, 0xe3, 0x05, 0x62, 0x92, 0xaa, 0x46, 0x0a, 0x1b, 0x21, 0x62, 0x4e, 0x92, 0x86, + 0x18, 0x55, 0x36, 0x69, 0x88, 0x5a, 0x42, 0x83, 0x88, 0x5f, 0x01, 0x44, 0x99, 0xa7, 0x19, 0xec, + 0x12, 0xeb, 0x4a, 0x33, 0xd8, 0x25, 0x27, 0xaf, 0x08, 0xfd, 0x35, 0x90, 0xd9, 0x24, 0x94, 0x7c, + 0x94, 0x2c, 0x9d, 0x58, 0x8d, 0x36, 0x3e, 0x7e, 0x3b, 0xe6, 0x70, 0xc9, 0x63, 0xa8, 0x84, 0xf9, + 0x29, 0xb1, 0x52, 0xf6, 0xaf, 0xbf, 0x34, 0x77, 0xe6, 0xf2, 0x98, 0x56, 0x92, 0x6f, 0x4d, 0x8a, + 0x50, 0xfc, 0xb9, 0xb9, 0x3b, 0x9f, 0x49, 0x3f, 0x52, 0x99, 0xb3, 0x26, 0x1d, 0x69, 0xbc, 0xac, + 0x4d, 0x3a, 0x52, 0x23, 0xe1, 0x8d, 0x10, 0x53, 0x9c, 0x24, 0x5e, 0xfe, 0xa6, 0x21, 0xce, 0x38, + 0x49, 0x94, 0x95, 0x26, 0x6d, 0x7f, 0xa6, 0x52, 0x4e, 0xda, 0xfe, 0x6c, 0x62, 0x2b, 0x4e, 0x2c, + 0x4c, 0x50, 0x93, 0x4e, 0xcc, 0x2c, 0xab, 0x1b, 0x77, 0xe6, 0xf2, 0x98, 0x2a, 0xa7, 0x9f, 0xd8, + 0x4c, 0x6d, 0x9d, 0xa6, 0xb2, 0x79, 0x62, 0x5b, 0xb5, 0x3f, 0xfc, 0xfd, 0x56, 0xee, 0xcf, 0xf8, + 0xef, 0x6f, 0xf8, 0xaf, 0x5b, 0xe2, 0xff, 0xf3, 0xec, 0x87, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, + 0xb2, 0x78, 0xd4, 0xb9, 0xe2, 0x26, 0x00, 0x00, } diff --git a/etcdserver/etcdserverpb/rpc.proto b/etcdserver/etcdserverpb/rpc.proto index 3e771b376..52421e94b 100644 --- a/etcdserver/etcdserverpb/rpc.proto +++ b/etcdserver/etcdserverpb/rpc.proto @@ -609,6 +609,7 @@ message AuthRoleGetRequest { } message AuthRoleDeleteRequest { + string role = 1; } message AuthRoleGrantRequest { diff --git a/etcdserver/v3_server.go b/etcdserver/v3_server.go index a9002dc48..4743e4daa 100644 --- a/etcdserver/v3_server.go +++ b/etcdserver/v3_server.go @@ -69,6 +69,7 @@ type Authenticator interface { RoleGrant(ctx context.Context, r *pb.AuthRoleGrantRequest) (*pb.AuthRoleGrantResponse, error) RoleGet(ctx context.Context, r *pb.AuthRoleGetRequest) (*pb.AuthRoleGetResponse, error) RoleRevoke(ctx context.Context, r *pb.AuthRoleRevokeRequest) (*pb.AuthRoleRevokeResponse, error) + RoleDelete(ctx context.Context, r *pb.AuthRoleDeleteRequest) (*pb.AuthRoleDeleteResponse, error) } func (s *EtcdServer) Range(ctx context.Context, r *pb.RangeRequest) (*pb.RangeResponse, error) { @@ -381,6 +382,17 @@ func (s *EtcdServer) RoleRevoke(ctx context.Context, r *pb.AuthRoleRevokeRequest return result.resp.(*pb.AuthRoleRevokeResponse), nil } +func (s *EtcdServer) RoleDelete(ctx context.Context, r *pb.AuthRoleDeleteRequest) (*pb.AuthRoleDeleteResponse, error) { + result, err := s.processInternalRaftRequest(ctx, pb.InternalRaftRequest{AuthRoleDelete: r}) + if err != nil { + return nil, err + } + if result.err != nil { + return nil, result.err + } + return result.resp.(*pb.AuthRoleDeleteResponse), nil +} + func (s *EtcdServer) usernameFromCtx(ctx context.Context) (string, error) { md, mdexist := metadata.FromContext(ctx) if mdexist {