diff --git a/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go b/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go index d57d0b2bbd8..f2b7c29f74d 100644 --- a/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go +++ b/pkg/eosclient/eosgrpc/eos_grpc/Rpc.pb.go @@ -1198,6 +1198,7 @@ type RoleId struct { Gid uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Groupname string `protobuf:"bytes,4,opt,name=groupname,proto3" json:"groupname,omitempty"` + App string `protobuf:"bytes,5,opt,name=app,proto3" json:"app,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1256,6 +1257,13 @@ func (m *RoleId) GetGroupname() string { return "" } +func (m *RoleId) GetApp() string { + if m != nil { + return m.App + } + return "" +} + type MDId struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Id uint64 `protobuf:"fixed64,2,opt,name=id,proto3" json:"id,omitempty"` diff --git a/pkg/eosclient/eosgrpc/eosgrpc.go b/pkg/eosclient/eosgrpc/eosgrpc.go index 84cc71b3a12..71ca182c66a 100644 --- a/pkg/eosclient/eosgrpc/eosgrpc.go +++ b/pkg/eosclient/eosgrpc/eosgrpc.go @@ -224,7 +224,7 @@ func (c *Client) initNSRequest(ctx context.Context, auth eosclient.Authorization rq.Role.Uid = uidInt rq.Role.Gid = gidInt if app != "" { - rq.Role.Groupname = app // FIXME this is going to be rq.Role.App once the GRPC interface is updated + rq.Role.App = app } rq.Authkey = c.opt.Authkey