You've already forked agentic-coding-workflow
修改
This commit is contained in:
@@ -33,6 +33,25 @@ func (s *fakeUserSvc) Bootstrap(_ context.Context, _, _ string) (*user.User, err
|
||||
}
|
||||
func (s *fakeUserSvc) ListAdmins(_ context.Context) ([]*user.User, error) { return nil, nil }
|
||||
|
||||
func (s *fakeUserSvc) ListUsers(_ context.Context) ([]*user.User, error) { return nil, nil }
|
||||
func (s *fakeUserSvc) CreateUser(_ context.Context, _ user.CreateUserInput) (*user.User, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (s *fakeUserSvc) UpdateProfile(_ context.Context, _ uuid.UUID, _ string) (*user.User, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (s *fakeUserSvc) SetAdmin(_ context.Context, _, _ uuid.UUID, _ bool) (*user.User, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (s *fakeUserSvc) SetEnabled(_ context.Context, _, _ uuid.UUID, _ bool) (*user.User, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (s *fakeUserSvc) AdminResetPassword(_ context.Context, _ uuid.UUID) (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
func (s *fakeUserSvc) ChangePassword(_ context.Context, _ uuid.UUID, _, _ string) error { return nil }
|
||||
func (s *fakeUserSvc) DeleteUser(_ context.Context, _, _ uuid.UUID) error { return nil }
|
||||
|
||||
func ctxWithSession(s *mcp.AuthSession) context.Context {
|
||||
return context.WithValue(context.Background(), mcp.AuthContextKey, s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user